72 lines
1.5 KiB
JSON
72 lines
1.5 KiB
JSON
[
|
|
{
|
|
"name": "数据有丢失风险-副本数小于3",
|
|
"note": "",
|
|
"prod": "",
|
|
"algorithm": "",
|
|
"algo_params": null,
|
|
"delay": 0,
|
|
"severity": 2,
|
|
"disabled": 1,
|
|
"prom_for_duration": 60,
|
|
"prom_ql": "sum(kafka_topic_partition_in_sync_replica) by (topic) < 3",
|
|
"prom_eval_interval": 15,
|
|
"enable_stime": "00:00",
|
|
"enable_etime": "23:59",
|
|
"enable_days_of_week": [
|
|
"1",
|
|
"2",
|
|
"3",
|
|
"4",
|
|
"5",
|
|
"6",
|
|
"0"
|
|
],
|
|
"enable_in_bg": 0,
|
|
"notify_recovered": 1,
|
|
"notify_channels": [],
|
|
"notify_repeat_step": 60,
|
|
"notify_max_number": 0,
|
|
"recover_duration": 0,
|
|
"callbacks": [],
|
|
"runbook_url": "",
|
|
"append_tags": [
|
|
"service=kafka"
|
|
]
|
|
},
|
|
{
|
|
"name": "消费能力不足-延迟超过5分钟",
|
|
"note": "",
|
|
"prod": "",
|
|
"algorithm": "",
|
|
"algo_params": null,
|
|
"delay": 0,
|
|
"severity": 2,
|
|
"disabled": 1,
|
|
"prom_for_duration": 60,
|
|
"prom_ql": "kafka_consumer_lag_millis / 1000 > 300",
|
|
"prom_eval_interval": 15,
|
|
"enable_stime": "00:00",
|
|
"enable_etime": "23:59",
|
|
"enable_days_of_week": [
|
|
"1",
|
|
"2",
|
|
"3",
|
|
"4",
|
|
"5",
|
|
"6",
|
|
"0"
|
|
],
|
|
"enable_in_bg": 0,
|
|
"notify_recovered": 1,
|
|
"notify_channels": [],
|
|
"notify_repeat_step": 60,
|
|
"notify_max_number": 0,
|
|
"recover_duration": 0,
|
|
"callbacks": [],
|
|
"runbook_url": "",
|
|
"append_tags": [
|
|
"service=kafka"
|
|
]
|
|
}
|
|
] |