Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-27250

"spec.enableFeature" should be "spec.enableFeatures" in prometheus.spec.remoteWrite.sendExemplars

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.15.0, 4.16.0
    • Monitoring
    • None
    • Low
    • No
    • 1
    • MON Sprint 260, MON Sprint 262
    • 2
    • False
    • Hide

      None

      Show
      None
    • NA
    • Release Note Not Required
    • In Progress

      Description of problem:

      4.15 and 4.16

      $ oc explain prometheus.spec.remoteWrite.sendExemplars
      GROUP:      monitoring.coreos.com
      KIND:       Prometheus
      VERSION:    v1FIELD: sendExemplars <boolean>DESCRIPTION:
          Enables sending of exemplars over remote write. Note that exemplar-storage
          itself must be enabled using the `spec.enableFeature` option for exemplars
          to be scraped in the first place. 
           It requires Prometheus >= v2.27.0.

      no `spec.enableFeature` option

      $ oc explain prometheus.spec.enableFeature
      GROUP:      monitoring.coreos.com
      KIND:       Prometheus
      VERSION:    v1
      error: field "enableFeature" does not exist 

      should be `spec.enableFeatures` 

      $ oc explain prometheus.spec.enableFeatures
      GROUP:      monitoring.coreos.com
      KIND:       Prometheus
      VERSION:    v1FIELD: enableFeatures <[]string>
      DESCRIPTION:
          Enable access to Prometheus feature flags. By default, no features are
          enabled. 
           Enabling features which are disabled by default 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/feature_flags/ 

      Version-Release number of selected component (if applicable):

       4.15 and 4.16

      How reproducible:

      always

              spasquie@redhat.com Simon Pasquier
              juzhao@redhat.com Junqi Zhao
              Junqi Zhao Junqi Zhao
              Simon Pasquier
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: