Created
March 18, 2022 09:43
-
-
Save justinschuldt/fe75d694a9618ad16c3650ba29f9289b to your computer and use it in GitHub Desktop.
grafana + prometheus for wormhole
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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