mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
add health checks to prometheus and grafana
This commit is contained in:
parent
67b0707eb7
commit
6222db9828
2 changed files with 12 additions and 0 deletions
|
@ -4,6 +4,12 @@
|
|||
"tags": [
|
||||
"db"
|
||||
],
|
||||
"checks": [{
|
||||
"id": "grafana-ping",
|
||||
"http": "http://{{ ansible_ssh_host }}:3000/api/health",
|
||||
"interval": "15s",
|
||||
"failures_before_critical": 4
|
||||
}],
|
||||
"port": 3000
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,12 @@
|
|||
"tags": [
|
||||
"db"
|
||||
],
|
||||
"checks": [{
|
||||
"id": "prometheus-ping",
|
||||
"http": "http://{{ ansible_ssh_host }}:9090/metrics",
|
||||
"interval": "15s",
|
||||
"failures_before_critical": 4
|
||||
}],
|
||||
"port": 9090
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue