Prometheus + Grafana + cAdvisor + node-exporter + Pushgateway + Seq, deployed as a Docker Swarm stack. Originally forked from vegasbrianc/prometheus.
The Grafana dashboard is not publicly accessible.
docker stack deploy -c docker-stack.yml prom
docker stack rm prom
docker service logs prom_prometheus
SEQ_PASSWORD— bcrypt hash for the Seq admin userGRAFANA_PASSWORD— Grafana admin passwordPOSTGRES_EXPORTER_CONNSTRING— Postgres DSN for postgres-exporter, e.g.postgresql://postgres_exporter:PASSWORD@host.docker.internal:5432/fmbot?sslmode=disable
Grafana reads the PagerDuty integration key from a Docker swarm secret (mounted at /run/secrets/pagerduty_routing_key and referenced from the provisioned PagerDuty contact point via $__file{...}). Create it once on the manager node before the first deploy:
printf "%s" "<pagerduty-events-v2-integration-key>" | docker secret create pagerduty_routing_key -
To rotate: docker secret rm pagerduty_routing_key, recreate, then docker service update --force prom_grafana.