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

Filter non-storage billing metrics for suspended Kafka instances

XMLWordPrintable

    • Icon: Spike Spike
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • MK - Sprint 226

      WHAT

      Create a filter for non-storage billing metrics for Kafka instances where the bf2.org/suspended=true label has been set. Those metrics are:

      • Cluster hours: kafka_id:strimzi_resource_state:max_over_time1h
      • Traffic: kafka_id:haproxy_server_bytes_in_out_total:rate1h_gibibytes

      WHY

      Only storage usage should be considered for billing purposes when a Kafka instance has been suspended.

      HOW

      • Figure out a way on how to exclude suspended Kafka instances from billing metrics.
      • These metrics are consumed by SubscriptionWatch directly from Observatorium (it does not go through KAS Fleet Manager).
      • The billing metrics are defined in the observability-resources-mk repository

      DONE

      • Create new tasks once investigation is complete that will track how to implement this.

       

              ppaszki Pawel paszki
              medgar@redhat.com Michael Edgar
              MK - Control Plane
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: