Skip to content

Instantly share code, notes, and snippets.

@justinschuldt
Created March 18, 2022 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinschuldt/fe75d694a9618ad16c3650ba29f9289b to your computer and use it in GitHub Desktop.
Save justinschuldt/fe75d694a9618ad16c3650ba29f9289b to your computer and use it in GitHub Desktop.
grafana + prometheus for wormhole
# open grafana to the network
sudo docker run -d --name=grafana -h 0.0.0.0 -p 4001:3000 grafana/grafana:latest
docker run -d --name=prometheus -p 9090:9090 -v /home/justin/code/wormhole/prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus
global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 15s
alerting:
alertmanagers:
- follow_redirects: true
scheme: http
timeout: 10s
api_version: v2
static_configs:
- targets: []
scrape_configs:
- job_name: guardian
honor_timestamps: true
scrape_interval: 3s
scrape_timeout: 2s
metrics_path: /metrics
scheme: http
follow_redirects: true
static_configs:
- targets:
- localhost:6060
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment