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

Add a metric for usage tallied

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • Next - API
    • None
    • swatch-tally

      When processing tallies, when a tally record is successfully saved to the database, it should increment a counter named "swatch_tally_tallied_usage_total", having labels:

      • product (swatch product tag)
      • metric_id (metric ID)
      • billing_provider_id

      Note this should only be incremented for non-rollup tallies.

      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.

              awood1@redhat.com Alex Wood
              khowell@redhat.com Kevin Howell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: