bf2fc6cc711aee1a0c2a / kas-fleetshard

The kas-fleetshard-operator is responsible for provisioning and managing instances of kafka on a cluster. The kas-fleetshard-synchronizer synchronizes the state of a fleet shard with the kas-fleet-manager.
Apache License 2.0
7 stars 20 forks source link

[MGDSTRM-10036] Add bf2_org_kafkaInstanceProfileType to Kafka instance metrics #832

Closed tinaselenge closed 2 years ago

tinaselenge commented 2 years ago

https://issues.redhat.com/browse/MGDSTRM-10036

ZookeeperContainersDown and KafkaBrokerContainersDown alerts rely on this label which is set on 'kafka_brokers' metric emitted from Kafka. However, if kafka containers are not running, this metric disappear. In this situation, the alerts never trigger which is counter to their purpose of alerting when containers are not running.

Instead of 'kafka_brokers', the alerts can use Kafka instance metrics emitted from kas-fleetshard so that it doesn't rely on Kafka itself.

Screenshot 2022-11-11 at 18 38 01
sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication