Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-2569

Add a metric attribute for type (counter or gauge).

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • 2024-07-30 - API
    • None
    • None

      Update existing metric definitions:

      • All existing traditional subscriptions' metrics are gauges.
      • All existing payg subscriptions' metrics are counters.
      property name: type
      values: gauge || counter
      
      For example:
      ... in rhel for x86
      metrics:
        - id: Sockets
          type: gauge
          ...
      
      ... in ROSA
        - id: Cores
          type: counter
          ...

      There is no change in existing behavior based on this today. 

      Testing, look at the product configuration and ensure that the gauge is specified on all metrics in the variants. Start considering the updates needed for IQE tests when this value starts to be used directly. 

       

       

              jcarvaja@redhat.com Jose Carvajal Hilario
              khowell@redhat.com Kevin Howell
              Sanket Jagtap Sanket Jagtap
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: