Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-2379

[DOC OCP] Document metrics configuration in ConfigMap instead of metrics property

    XMLWordPrintable

Details

    Description

      Upstream issue https://github.com/strimzi/strimzi-kafka-operator/issues/3934
      Metrics were moved from the metrics property of the CR

      From

        metrics:
          # Inspired by kafka-connect rules
          # https://github.com/prometheus/jmx_exporter/blob/master/example_configs/kafka-connect.yml
          lowercaseOutputName: true
          lowercaseOutputLabelNames: true
          rules:
            #kafka.connect:type=app-info,client-id="{clientid}"
            #kafka.consumer:type=app-info,client-id="{clientid}"
            #kafka.producer:type=app-info,client-id="{clientid}"
            - pattern: 'kafka.(.+)<type=app-info, client-id=(.+)><>start-time-ms'
              name: kafka_$1_start_time_seconds
              labels:
                clientId: "$2"
              help: "Kafka $1 JMX metric start time seconds"
              type: GAUGE
              valueFactor: 0.001
      ...
      

      To

        metricsConfig:
          type: jmxPrometheusExporter
          valueFrom:
            configMapKeyRef:
              name: mirror-maker-2-metrics
              key: metrics-config.yml
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            sknot@redhat.com Stanislav Knot (Inactive)
            Lukas Kral Lukas Kral
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: