-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
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.
- is blocked by
-
MGDSTRM-9789 Suspend and resume a Kafka instance based on presence of label
- Closed
-
MGDSTRM-9884 Remote write kafka_instance_suspended to central observatorium.
- Closed
- is caused by
-
MGDSTRM-9785 Filter non-storage billing metrics for suspended Kafka instances
- Closed