-
Epic
-
Resolution: Done
-
Normal
-
None
Epic Goal
The cluster monitoring operator should allow OpenShift customers to configure remote write with all authentication methods supported by upstream Prometheus.
We will extend CMO's configuration API to support the following authentications with remote write:
- Sigv4
- Authorization
- OAuth2
Why is this important?
Customers want to send metrics to AWS Managed Prometheus that require sigv4 authentication (see https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-secure-metric-ingestion.html#AMP-secure-auth).
Scenarios
- As a cluster admin, I want to forward platform/user metrics to remote write systems requiring Sigv4 authentication.
- As a cluster admin, I want to forward platform/user metrics to remote write systems requiring OAuth2 authentication.
- As a cluster admin, I want to forward platform/user metrics to remote write systems requiring custom Authorization header for authentication (e.g. API key).
Acceptance Criteria
- CI - MUST be running successfully with tests automated
- Release Technical Enablement - Provide necessary release enablement details and documents.
- It is possible for a cluster admin to configure any authentication method that is supported by Prometheus upstream for remote write (both platform and user-defined metrics):
-
- Sigv4
- Authorization
- OAuth2
Dependencies (internal and external)
- In theory none because everything is already supported by the Prometheus operator upstream. We may discover bugs in the upstream implementation though that may require upstream involvement.
Previous Work
- After CMO started exposing the RemoteWrite specification in
MON-1069, additional authentication options where added to prometheus and prometheus-operator but CMO didn't catch up on these.
Open Questions
- None
- is documented by
-
RHDEVDOCS-3917 Support additional auth section in remote_write
- Closed
- links to
There are no Sub-Tasks for this issue.