2020-04-11 07:22:23 +00:00
|
|
|
global:
|
|
|
|
scrape_interval: 5s
|
|
|
|
scrape_timeout: 5s
|
|
|
|
evaluation_interval: 5s
|
|
|
|
|
|
|
|
alerting:
|
|
|
|
alertmanagers:
|
|
|
|
- static_configs:
|
|
|
|
- targets: []
|
|
|
|
scheme: http
|
|
|
|
timeout: 5s
|
|
|
|
|
|
|
|
scrape_configs:
|
|
|
|
- job_name: turbo-geth # example, how to connect prometheus to geth runned by docker-compose
|
|
|
|
metrics_path: /debug/metrics/prometheus
|
|
|
|
scheme: http
|
|
|
|
static_configs:
|
|
|
|
- targets:
|
2020-09-14 05:05:35 +00:00
|
|
|
- turbo-geth:6060
|
|
|
|
- turbo-geth:6061
|
|
|
|
- turbo-geth:6062
|
|
|
|
- host.docker.internal:6060 # this is how docker-for-mac allow to access host machine
|
|
|
|
- host.docker.internal:6061
|
|
|
|
- host.docker.internal:6062
|
2020-10-10 06:06:54 +00:00
|
|
|
- 192.168.255.138:6060
|
|
|
|
- 192.168.255.138:6061
|
2020-07-27 12:15:48 +00:00
|
|
|
|
|
|
|
- job_name: turbo-geth2
|
|
|
|
metrics_path: /debug/metrics/prometheus2
|
|
|
|
scheme: http
|
|
|
|
static_configs:
|
|
|
|
- targets:
|
2020-10-10 06:06:54 +00:00
|
|
|
- turbo-geth:6060
|
|
|
|
- turbo-geth:6061
|
|
|
|
- turbo-geth:6062
|
|
|
|
- host.docker.internal:6060
|
|
|
|
- host.docker.internal:6061
|
|
|
|
- host.docker.internal:6062
|
|
|
|
- 192.168.255.138:6060
|
|
|
|
- 192.168.255.138:6061
|