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

Add a metric for usage considered billable

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • swatch-billable-usage

      When processing usage, when a usage is considered billable (in part or whole), it should increment a counter named "swatch_billable_usage_total" with the billable amount in metric units, having labels:

      • product (swatch product tag)
      • metric_id (metric ID)
      • billing_provider
      • status (pending/completed/retryable/failed)

      Done:

      • Metric visible in prometheus 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: