forked from TencentBlueKing/blueking-dbm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: doris monitor templates TencentBlueKing#7518
- Loading branch information
Showing
13 changed files
with
24,809 additions
and
0 deletions.
There are no files selected for viewing
21,805 changes: 21,805 additions & 0 deletions
21,805
dbm-ui/backend/bk_dataview/dashboards/json/doris.json
Large diffs are not rendered by default.
Oops, something went wrong.
244 changes: 244 additions & 0 deletions
244
dbm-ui/backend/db_monitor/tpls/alarm/doris/Doris BDBJE Write Slow.json
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,244 @@ | ||
{ | ||
"bk_biz_id": 0, | ||
"name": "Doris BDBJE Write Slow", | ||
"db_type": "doris", | ||
"details": { | ||
"bk_biz_id": "", | ||
"name": "Doris BDBJE Write Slow", | ||
"source": "dbm", | ||
"scenario": "component", | ||
"type": "monitor", | ||
"items": [ | ||
{ | ||
"name": "Doris BDBJE Write Slow", | ||
"no_data_config": { | ||
"level": 2, | ||
"continuous": 10, | ||
"is_enabled": false, | ||
"agg_dimension": [] | ||
}, | ||
"target": [], | ||
"expression": "a", | ||
"functions": [], | ||
"origin_sql": "", | ||
"query_configs": [ | ||
{ | ||
"data_source_label": "prometheus", | ||
"data_type_label": "time_series", | ||
"alias": "a", | ||
"metric_id": "", | ||
"functions": [], | ||
"promql": "avg by (app, cluster_domain, instance_host, bk_target_service_instance_id)(bkmonitor:pushgateway_dbm_doris_bkpull:doris_fe_editlog_write_latency_ms{quantile=\"0.99\"})", | ||
"agg_interval": 60, | ||
"name": "" | ||
} | ||
], | ||
"algorithms": [ | ||
{ | ||
"type": "Threshold", | ||
"level": 1, | ||
"config": [ | ||
[ | ||
{ | ||
"method": "gte", | ||
"threshold": 1000 | ||
} | ||
] | ||
], | ||
"unit_prefix": "" | ||
} | ||
], | ||
"metric_type": "time_series" | ||
} | ||
], | ||
"detects": [ | ||
{ | ||
"level": 1, | ||
"expression": "", | ||
"trigger_config": { | ||
"count": 2, | ||
"uptime": { | ||
"calendars": [], | ||
"time_ranges": [ | ||
{ | ||
"end": "23:59", | ||
"start": "00:00" | ||
} | ||
] | ||
}, | ||
"check_window": 5 | ||
}, | ||
"recovery_config": { | ||
"check_window": 5, | ||
"status_setter": "recovery" | ||
}, | ||
"connector": "and" | ||
} | ||
], | ||
"actions": [], | ||
"notice": { | ||
"config_id": 48098, | ||
"user_groups": [], | ||
"user_type": "main", | ||
"signal": [ | ||
"abnormal", | ||
"no_data" | ||
], | ||
"options": { | ||
"end_time": "23:59:59", | ||
"start_time": "00:00:00", | ||
"assign_mode": [ | ||
"by_rule" | ||
], | ||
"upgrade_config": { | ||
"is_enabled": false, | ||
"user_groups": [], | ||
"upgrade_interval": 1440 | ||
}, | ||
"converge_config": { | ||
"count": 1, | ||
"condition": [ | ||
{ | ||
"dimension": "strategy_id", | ||
"value": [ | ||
"self" | ||
] | ||
}, | ||
{ | ||
"dimension": "dimensions", | ||
"value": [ | ||
"self" | ||
] | ||
}, | ||
{ | ||
"dimension": "alert_level", | ||
"value": [ | ||
"self" | ||
] | ||
}, | ||
{ | ||
"dimension": "signal", | ||
"value": [ | ||
"self" | ||
] | ||
}, | ||
{ | ||
"dimension": "bk_biz_id", | ||
"value": [ | ||
"self" | ||
] | ||
}, | ||
{ | ||
"dimension": "notice_receiver", | ||
"value": [ | ||
"self" | ||
] | ||
}, | ||
{ | ||
"dimension": "notice_way", | ||
"value": [ | ||
"self" | ||
] | ||
} | ||
], | ||
"timedelta": 60, | ||
"is_enabled": true, | ||
"converge_func": "collect", | ||
"need_biz_converge": true, | ||
"sub_converge_config": { | ||
"timedelta": 60, | ||
"count": 2, | ||
"condition": [ | ||
{ | ||
"dimension": "bk_biz_id", | ||
"value": [ | ||
"self" | ||
] | ||
}, | ||
{ | ||
"dimension": "notice_receiver", | ||
"value": [ | ||
"self" | ||
] | ||
}, | ||
{ | ||
"dimension": "notice_way", | ||
"value": [ | ||
"self" | ||
] | ||
}, | ||
{ | ||
"dimension": "alert_level", | ||
"value": [ | ||
"self" | ||
] | ||
}, | ||
{ | ||
"dimension": "signal", | ||
"value": [ | ||
"self" | ||
] | ||
} | ||
], | ||
"converge_func": "collect_alarm" | ||
} | ||
}, | ||
"chart_image_enabled": true, | ||
"exclude_notice_ways": { | ||
"ack": [], | ||
"closed": [], | ||
"recovered": [] | ||
}, | ||
"noise_reduce_config": { | ||
"unit": "percent", | ||
"count": 10, | ||
"timedelta": 5, | ||
"dimensions": [], | ||
"is_enabled": false | ||
} | ||
}, | ||
"relate_type": "NOTICE", | ||
"config": { | ||
"need_poll": true, | ||
"notify_interval": 7200, | ||
"interval_notify_mode": "standard", | ||
"template": [ | ||
{ | ||
"signal": "abnormal", | ||
"message_tmpl": "{{content.level}}\n{{content.begin_time}}\n{{content.time}}\n{{content.duration}}\n{{content.target_type}}\n{{content.data_source}}\n{{content.content}}\n{{content.current_value}}\n{{content.biz}}\n{{content.target}}\n{{content.dimension}}\n{{content.detail}}\n{{content.assign_detail}}\n通知人:{{alarm.receivers}}\n{{content.related_info}}", | ||
"title_tmpl": "{{business.bk_biz_name}} - {{alarm.name}}{{alarm.display_type}}" | ||
}, | ||
{ | ||
"signal": "recovered", | ||
"message_tmpl": "{{content.level}}\n{{content.begin_time}}\n{{content.time}}\n{{content.duration}}\n{{content.target_type}}\n{{content.data_source}}\n{{content.content}}\n{{content.current_value}}\n{{content.biz}}\n{{content.target}}\n{{content.dimension}}\n{{content.detail}}\n{{content.assign_detail}}\n通知人:{{alarm.receivers}}\n{{content.related_info}}", | ||
"title_tmpl": "{{business.bk_biz_name}} - {{alarm.name}}{{alarm.display_type}}" | ||
}, | ||
{ | ||
"signal": "closed", | ||
"message_tmpl": "{{content.level}}\n{{content.begin_time}}\n{{content.time}}\n{{content.duration}}\n{{content.target_type}}\n{{content.data_source}}\n{{content.content}}\n{{content.current_value}}\n{{content.biz}}\n{{content.target}}\n{{content.dimension}}\n{{content.detail}}\n{{content.assign_detail}}\n通知人:{{alarm.receivers}}\n{{content.related_info}}", | ||
"title_tmpl": "{{business.bk_biz_name}} - {{alarm.name}}{{alarm.display_type}}" | ||
} | ||
] | ||
} | ||
}, | ||
"labels": [ | ||
"DBM", | ||
"DBM_DORIS", | ||
"DORIS" | ||
], | ||
"app": "", | ||
"path": "", | ||
"priority": 0, | ||
"priority_group_key": "", | ||
"edit_allowed": true, | ||
"metric_type": "time_series", | ||
"data_source_type": "Prometheus", | ||
"is_enabled": true | ||
}, | ||
"is_enabled": true, | ||
"monitor_indicator": "Doris BDBJE Write Slow", | ||
"version": 1, | ||
"alert_source": "time_series", | ||
"custom_conditions": [], | ||
"export_at": "2024-10-22T18:50:29+08:00" | ||
} |
Oops, something went wrong.