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

Add a metric to swatch-producer-aws for metered usage

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • swatch-producer-aws

      When usage is processed by swatch-producer-aws, it should increment a counter named "swatch_producer_metered_total" with the amount in metric units, having labels:

      • product (swatch product tag)
      • metric_id (metric ID)
      • billing_provider
      • status (failed/succeeded/duplicate)
      • What about retry: we only care about the final state after AWS properly returnsĀ 

      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
              Lisa Walker Lisa Walker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: