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

Add a metric for usage covered by a contract

XMLWordPrintable

      When processing billable usage, when usage is considered partially or fully covered by contract capacity, it should increment a counter named "swatch_contract_usage_total" by the amount of the usage covered, having labels:

      • product (swatch product tag)
      • metric_id (metric ID)
      • billing_provider (aws/azure)

      Done:

      • Metric visible in prometheus/grafana  explorer (dashboard will come later)
      • QE verify that the pods are capturing these metrics via :9000/metrics or stage prometheus instance.

              rhn-engineering-wpoteat William Poteat
              khowell@redhat.com Kevin Howell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: