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

Security Profiles Operator generating high cardinality metrics

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Major
    • None
    • 4.13.z, 4.12.z
    • None
    • Important
    • No
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      Security Profiles Operator generating high cardinality metrics because of which prometheus pods are using high amount of memory.

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

      Latest

      How reproducible:

      100%

      Steps to Reproduce:

      1. Install / Configure the operator and check prometheus pods memory utilisation 
      2.
      3.
      

      Actual results:

      Security profiles operator starts generating high cardinality metrics and causing prometheus to utilize high amount of memory

      Expected results:

      Security profiles operator should not generate high cardinality metrics.

      Additional info:

      [-] https://github.com/kubernetes-sigs/controller-runtime/blob/v0.14.6/pkg/metrics/client_go_adapter.go#L69
      [-] https://github.com/openshift/security-profiles-operator/blob/main/go.mod#L42

       

      Attachments

        Issue Links

          Activity

            People

              wenshen@redhat.com Vincent Shen
              rhn-support-dgautam Dhruv Gautam
              Xiaojie Yuan Xiaojie Yuan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: