Uploaded image for project: 'Machine Config Operator'
  1. Machine Config Operator
  2. MCO-718

Centralize metric registering and listening for all MCO-subcomponent in a unified place

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • 5
    • False
    • None
    • False
    • OCPSTRAT-554 - Improving error handling, propagation, collection, and disambiguation for users
    • MCO Sprint 240, MCO Sprint 243
    • 0
    • 0.000

      Currently, each component of the MCO has its own metric registering function in pkg/operator/metrics.go, pkg/controller/metrics.go, pkg/daemon/metrics.go, which resulted in duplication. This also adds difficulty for future CRD works. As a result, there is a strong call for a centralized metric spinning up mechanism, which takes whatever metric passed in and register for those, in the state controller. 

      Completion criteria

      1. Should be able to turn on/off all the metrics from one centralized place, without any touch on MCC, MCD or MCO
      2. Should be able to only register for the metrics according to user's choices

      Update:

       

              rh-ee-iqian Ines Qian (Inactive)
              rh-ee-iqian Ines Qian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: