Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-71781

[kubevirt] Fix metrics name linter to support recording rules

XMLWordPrintable

    • CNV I/U Operators Sprint 279, CNV I/U Operators Sprint 280
    • None

      Description of problem:
      The metric name linter is failing on recording rule names:
      cluster:kubevirt_virt_controller_pods_running:count: metric names should not contain ':'
      cluster:kubevirt_virt_controller_pods_running:count: name need to start with 'kubevirt_'

      the best practice for recording rules names should be different from metrics names, and follow this: https://prometheus.io/docs/practices/rules/

      Actual results:
      The monitoring names linter applies the same best practices to both metrics and recording rules.

      Expected results:
      The monitoring names linter applies best practices specific to metrics names and recording rules respectively.

              alitman@redhat.com Aviv Litman
              alitman@redhat.com Aviv Litman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: