Uploaded image for project: 'Observability and Data Analysis Program'
  1. Observability and Data Analysis Program
  2. OBSDA-513

PrometheusRestrictedConfig supports enabling sendExemplars.

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • openshift-4.13
    • PM Monitoring
    • False
    • None
    • False
    • Not Selected

      1. Proposed title of this feature request
      2. 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
      3. 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
      4. List any affected packages or components.
        • openshift-user-workload-monitoring
        • openshift-monitoring
      5. 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.html

         However "PrometheusRestrictedConfig" doesn't support both options.

              rh-ee-rfloren Roger Florén
              rhn-support-hyoskim Sophia Hyosun Kim
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: