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

Add a metric for ingested usage data from Prometheus

XMLWordPrintable

      In EventController, when an event record is successfully saved to the database, it should increment a counter named "swatch_metrics_ingested_usage_total", having labels:

      • One counter with three labels
        • product (swatch product tag) (increment a unique counter for each 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
              Aurobinda Nayak Aurobinda Nayak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: