Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ccfos/nightingale
Browse files Browse the repository at this point in the history
  • Loading branch information
UlricQin committed Apr 27, 2023
2 parents 1d5ff1b + 810ca0e commit b62762b
Show file tree
Hide file tree
Showing 5 changed files with 2,567 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile.goreleaser
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ADD n9e /app/
ADD etc /app/
ADD integrations /app/integrations/
ADD --chmod=755 https://github.com/ufoscout/docker-compose-wait/releases/download/2.11.0/wait_x86_64 /wait
RUN chmod +x /wait
ADD pub /app/pub/

EXPOSE 17000
Expand Down
55 changes: 55 additions & 0 deletions integrations/victoriametrics/alerts/alerts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[
{
"cate": "prometheus",
"name": "VictoriaMetrics服务宕机",
"note": "当前采集所有实例存活状态",
"prod": "",
"algorithm": "",
"algo_params": null,
"delay": 0,
"severity": 1,
"disabled": 0,
"prom_for_duration": 60,
"prom_ql": "up{service=~\"vm.+\"} < 1",
"prom_eval_interval": 60,
"enable_stime": "00:00",
"enable_stimes": [
"00:00"
],
"enable_etime": "23:59",
"enable_etimes": [
"23:59"
],
"enable_days_of_week": [
"1",
"2",
"3",
"4",
"5",
"6",
"0"
],
"enable_days_of_weeks": [
[
"1",
"2",
"3",
"4",
"5",
"6",
"0"
]
],
"enable_in_bg": 0,
"notify_recovered": 1,
"notify_channels": [
"dingtalk"
],
"notify_repeat_step": 60,
"notify_max_number": 0,
"recover_duration": 0,
"callbacks": [],
"runbook_url": "",
"append_tags": []
}
]
Loading

0 comments on commit b62762b

Please sign in to comment.