Add a stack for monitoring watchers with prometheus and grafana (#687)

* Setup Prometheus and Grafana for monitoring stack

* Add dashboard for azimuth watchers

* Add a dashboard for sushiswap watcher

* Persist prometheus server data

* Additional metrics in watcher dashboards

* Update dashboards and add for merkl sushiswap watcher

* Add dashboards for remaining azimuth watchers

* Separate out preconfigured watcher dashboards and add instructions

* Keep the empty dashboards dir
This commit was merged in pull request #687.
This commit is contained in:
prathamesh0
2023-12-14 16:59:00 +05:30
committed by GitHub
parent 1f4eb57069
commit 9ba410b095
20 changed files with 10646 additions and 0 deletions
@@ -0,0 +1,22 @@
version: "3.7"
services:
prometheus:
image: prom/prometheus
restart: always
volumes:
- ../config/monitoring/prometheus:/etc/prometheus
- prometheus_data:/prometheus
ports:
- "9090"
healthcheck:
test: ["CMD", "nc", "-vz", "localhost", "9090"]
interval: 30s
timeout: 5s
retries: 10
start_period: 3s
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
prometheus_data: