-
Epic
-
Resolution: Done
-
Normal
-
None
-
None
-
Store and send exemplars
-
False
-
None
-
False
-
Not Selected
-
NEW
-
To Do
-
MON-3154CMO user customizations
-
NEW
-
0% To Do, 0% In Progress, 100% Done
- Proposed title of this feature request
- PrometheusRestrictedConfig supports enabling sendExemplars
- Exemplars storage (https://prometheus.io/docs/prometheus/latest/feature_flags/#exemplars-storage)
- What is the nature and description of the request?
- Customers want to use exemplar-storage for openshift-user-workload-monitoring
- However "PrometheusRestrictedConfig" doesn't support the option in the Prometheus spec, unlike Prometheus API for openshift-monitoring
- PrometheusRestrictedConfig needs to support the configuration below for enabling sendExemplars
- .spec.remoteWrite[].sendExemplars
- .spec.enableFeatures
- Why does the customer need this? (List the business requirements here
- Customers want to make monitoring for user-defined projects because openshift-monitoring is not flexible to customizing for monitoring the user's namespace services.
- They need to enable the exemplar-storage function to implement the user-workload-monitoring
- List any affected packages or components.
- openshift-user-workload-monitoring
- openshift-monitoring
- References
openshift-monitoring prometheusK8s configuration
.spec.remoteWrite[].sendExemplars
- Enables sending of exemplars over remote write. Note that exemplar-storage itself must be enabled using the enableFeature option for exemplars to be scraped in the first place. Only valid in Prometheus versions 2.27.0 and newer.
.spec.enableFeatures
- Enable access to Prometheus disabled features. By default, no features are enabled. Enabling disabled features is entirely - outside the scope of what the maintainers will support and by doing so, you accept that this behaviour may break at any time without notice. For more information see https://prometheus.io/docs/prometheus/latest/disabled_features/
[1]Prometheus [monitoring.coreos.com/v1]
https://docs.openshift.com/container-platform/4.13/rest_api/monitoring_apis/prometheus-monitoring-coreos-com-v1.htmlHowever "PrometheusRestrictedConfig" doesn't support both options.
openshift-user-workload-monitoring prometheus configuration
- is documented by
-
OBSDOCS-676 PrometheusRestrictedConfig support for sendExemplars.
- Closed
- relates to
-
OBSDA-513 PrometheusRestrictedConfig supports enabling sendExemplars.
- Closed