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

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

XMLWordPrintable

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

      When usage is processed by swatch-producer-azure, 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 or succeeded)
      • What about retry: we only care about the final state after Azure 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.

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

                Created:
                Updated: