Uploaded image for project: 'Managed Service - Streams'
  1. Managed Service - Streams
  2. MGDSTRM-9936

Rewrite non-storage billing metrics to exclude suspended kafkas

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • MK - Sprint 227

      WHAT

      Rewrite non-storage metrics to exclude kafkas in suspended state. Current queries will need to use information exposed here to obtain suspended kafkas

      Storage metrics that should not be updated:

      • kafka_id:kafka_broker_quota_totalstorageusedbytes:max_over_time1h_gibibytes
      • kafka_id:kafka_broker_quota_totalstorageusedbytes:max_over_time1h_gibibyte_months

      WHY

      suspended kafkas are not using any non-storage resources

      HOW

      Use prometheus docs to understand queries.
      Use the metric kafka_instance_suspended to filter out the suspended Kafkas. This will be made available to Observatorium in this JIRA: MGDSTRM-9884

      e2e test may need to be updated. Those are defined here: https://github.com/bf2fc6cc711aee1a0c2a/e2e-test-suite

      DONE

      • Non storage billing metrics are updated to exclude Kafkas in a suspended state.
      • e2e tests updated if required.

            ppaszki Pawel paszki
            ppaszki Pawel paszki
            MK - Control Plane
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: