Skip to content

Commit

Permalink
fix(backend): 修复监控策略初始化报错的问题 #3786
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhw8 authored and iSecloud committed Apr 1, 2024
1 parent 3e58113 commit 6e6f1a9
Show file tree
Hide file tree
Showing 177 changed files with 329 additions and 331 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -256,7 +256,7 @@
},
"is_enabled": true,
"monitor_indicator": "COUNT(dns_check_warning-dbm_report_channel)",
"version": 16,
"version": 17,
"alert_source": "event",
"custom_conditions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -259,7 +259,7 @@
},
"is_enabled": true,
"monitor_indicator": "AVG(CPU使用率)",
"version": 19,
"version": 20,
"alert_source": "time_series",
"custom_conditions": [],
"export_at": "2024-03-28T21:19:53+08:00"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -295,7 +295,7 @@
},
"is_enabled": true,
"monitor_indicator": "AVG(磁盘空间使用率)",
"version": 19,
"version": 20,
"alert_source": "time_series",
"custom_conditions": [],
"export_at": "2024-03-28T21:19:53+08:00"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down
2 changes: 1 addition & 1 deletion dbm-ui/backend/db_monitor/tpls/alarm/es/ES 写拒绝.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down
4 changes: 2 additions & 2 deletions dbm-ui/backend/db_monitor/tpls/alarm/es/ES 写排队.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -258,7 +258,7 @@
},
"is_enabled": true,
"monitor_indicator": "MAX(elasticsearch_thread_pool_queue_count)",
"version": 19,
"version": 20,
"alert_source": "time_series",
"custom_conditions": [],
"export_at": "2024-03-28T21:19:53+08:00"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down
4 changes: 2 additions & 2 deletions dbm-ui/backend/db_monitor/tpls/alarm/es/ES 集群状态.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -262,7 +262,7 @@
},
"is_enabled": true,
"monitor_indicator": "MAX(elasticsearch_cluster_health_status)",
"version": 19,
"version": 20,
"alert_source": "time_series",
"custom_conditions": [],
"export_at": "2024-03-28T21:19:53+08:00"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -308,7 +308,7 @@
},
"is_enabled": true,
"monitor_indicator": "AVG(hadoop_namenode_corrupt_blocks)/MIN(hadoop_namenode_State)",
"version": 16,
"version": 17,
"alert_source": "time_series",
"custom_conditions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -235,7 +235,7 @@
},
"is_enabled": true,
"monitor_indicator": "[HDFS]-DataNode Last Contact",
"version": 16,
"version": 17,
"alert_source": "time_series",
"custom_conditions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -309,7 +309,7 @@
},
"is_enabled": true,
"monitor_indicator": "AVG(hadoop_namenode_transactions_since_last_checkpoint)/MIN(hadoop_namenode_State)",
"version": 16,
"version": 17,
"alert_source": "time_series",
"custom_conditions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -308,7 +308,7 @@
},
"is_enabled": true,
"monitor_indicator": "AVG(hadoop_namenode_missing_blocks)/MIN(hadoop_namenode_State)",
"version": 16,
"version": 17,
"alert_source": "time_series",
"custom_conditions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -300,7 +300,7 @@
},
"is_enabled": true,
"monitor_indicator": "MIN(hadoop_namenode_State)",
"version": 16,
"version": 17,
"alert_source": "time_series",
"custom_conditions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -325,7 +325,7 @@
},
"is_enabled": true,
"monitor_indicator": "AVG(hadoop_namenode_capacity_used)/AVG(hadoop_namenode_capacity_total)*MIN(hadoop_namenode_State)*100",
"version": 16,
"version": 17,
"alert_source": "time_series",
"custom_conditions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -292,7 +292,7 @@
},
"is_enabled": true,
"monitor_indicator": "AVG(CPU使用率)",
"version": 16,
"version": 17,
"alert_source": "time_series",
"custom_conditions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -256,7 +256,7 @@
},
"is_enabled": true,
"monitor_indicator": "AVG(influxdb_database_numSeries)",
"version": 16,
"version": 17,
"alert_source": "time_series",
"custom_conditions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -292,7 +292,7 @@
},
"is_enabled": true,
"monitor_indicator": "AVG(应用程序内存使用占比)",
"version": 16,
"version": 17,
"alert_source": "time_series",
"custom_conditions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -256,7 +256,7 @@
},
"is_enabled": true,
"monitor_indicator": "AVG(influxdb_httpd_pointsWrittenFail)",
"version": 16,
"version": 17,
"alert_source": "time_series",
"custom_conditions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -246,7 +246,7 @@
},
"is_enabled": true,
"monitor_indicator": "MAX(http_response_result_code)",
"version": 16,
"version": 17,
"alert_source": "time_series",
"custom_conditions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -293,7 +293,7 @@
},
"is_enabled": true,
"monitor_indicator": "AVG(I/O使用率)",
"version": 16,
"version": 17,
"alert_source": "time_series",
"custom_conditions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -293,7 +293,7 @@
},
"is_enabled": true,
"monitor_indicator": "MAX(磁盘空间使用率)",
"version": 16,
"version": 17,
"alert_source": "time_series",
"custom_conditions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"timedelta": 60,
"is_enabled": true,
"converge_func": "collect",
"need_biz_converge": true,
"need_biz_converge": false,
"sub_converge_config": {
"timedelta": 60,
"count": 2,
Expand Down Expand Up @@ -254,7 +254,7 @@
},
"is_enabled": false,
"monitor_indicator": "AVG(CPU使用率)",
"version": 16,
"version": 17,
"alert_source": "time_series",
"custom_conditions": []
}
Loading

0 comments on commit 6e6f1a9

Please sign in to comment.