-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add alert if the number of connector exceeds the soft limit
issue: BB-601
- Loading branch information
1 parent
73669eb
commit 1d94901
Showing
4 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
groups: | ||
- name: Oplog Populator | ||
rules: | ||
- alert: OplogPopulatorUnavailable | ||
annotations: | ||
description: Oplog populator pod is down | ||
summary: Oplog populator service is in critical state | ||
zenko_service: backbeat-oplog-populator | ||
expr: | | ||
sum(up{namespace="zenko",job="artesca-data-backbeat-oplog-populator-headless"}) < 1 | ||
for: 30s | ||
labels: | ||
severity: critical | ||
- alert: KafkaConnectFailedConnectorConfiguration | ||
annotations: | ||
description: Oplog populator failed to configure connector | ||
summary: Oplog populator couldn't update kafka connect connector | ||
zenko_service: backbeat-oplog-populator | ||
expr: | | ||
sum by(connector) (increase(oplog_populator_reconfiguration{success="false",job="artesca-data-backbeat-oplog-populator-headless",namespace="zenko"}[1m])) | ||
> 0 | ||
for: 5m | ||
labels: | ||
severity: critical | ||
- alert: KafkaConnectReplicasAboveThreshold | ||
annotations: | ||
description: Kafka connect replica count is above soft limit | ||
summary: Kafka connect replica count is above soft limit. Consider using a single | ||
replica for your cluster | ||
zenko_service: backbeat-oplog-populator | ||
expr: "(sum(up{namespace=\"zenko\",job=\"artesca-data-base-queue-connector-metrics\"}) | ||
> bool 10) * \n(10 > bool 0)\n" | ||
for: 5m | ||
labels: | ||
severity: warning | ||
- alert: OplogPopulatorMetastoreChangeStreamLagThreshold | ||
annotations: | ||
description: Oplog populator metastore change stream lag is too big | ||
summary: Oplog populator configuration lag is above threshold | ||
zenko_service: backbeat-oplog-populator | ||
expr: | | ||
histogram_quantile( | ||
0.99, | ||
sum by(le) (rate(s3_oplog_populator_acknowledgement_lag_seconds_bucket{job="artesca-data-backbeat-oplog-populator-headless",namespace="zenko"}[1m])) | ||
) | ||
>= 10 | ||
for: 5m | ||
labels: | ||
severity: critical |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters