2020-04-11 07:22:23 +00:00
|
|
|
global:
|
2021-03-10 03:58:57 +00:00
|
|
|
scrape_interval: 10s
|
2020-10-21 04:23:22 +00:00
|
|
|
scrape_timeout: 3s
|
2020-04-11 07:22:23 +00:00
|
|
|
evaluation_interval: 5s
|
|
|
|
|
|
|
|
scrape_configs:
|
2021-05-26 10:35:39 +00:00
|
|
|
- job_name: erigon # example, how to connect prometheus to Erigon
|
2020-04-11 07:22:23 +00:00
|
|
|
metrics_path: /debug/metrics/prometheus
|
|
|
|
scheme: http
|
|
|
|
static_configs:
|
|
|
|
- targets:
|
2021-05-26 10:35:39 +00:00
|
|
|
- erigon:6060 # If Erigon runned by default docker-compose, then it's available on `erigon` host.
|
|
|
|
- erigon:6061
|
|
|
|
- erigon:6062
|
2020-09-14 05:05:35 +00:00
|
|
|
- host.docker.internal:6060 # this is how docker-for-mac allow to access host machine
|
|
|
|
- host.docker.internal:6061
|
|
|
|
- host.docker.internal:6062
|
2020-11-28 14:26:28 +00:00
|
|
|
- 192.168.255.134:6060
|
|
|
|
- 192.168.255.134:6061
|
|
|
|
- 192.168.255.134:6062
|
2020-10-10 06:06:54 +00:00
|
|
|
- 192.168.255.138:6060
|
|
|
|
- 192.168.255.138:6061
|
2020-10-21 04:22:25 +00:00
|
|
|
- 192.168.255.138:6062
|
2020-07-27 12:15:48 +00:00
|
|
|
|
2021-05-26 10:35:39 +00:00
|
|
|
- job_name: erigon2 # this job collecting metrics in OpenMetrics format
|
2020-07-27 12:15:48 +00:00
|
|
|
metrics_path: /debug/metrics/prometheus2
|
|
|
|
scheme: http
|
|
|
|
static_configs:
|
|
|
|
- targets:
|
2021-05-26 10:35:39 +00:00
|
|
|
- erigon:6060
|
|
|
|
- erigon:6061
|
|
|
|
- erigon:6062
|
2020-10-10 06:06:54 +00:00
|
|
|
- host.docker.internal:6060
|
|
|
|
- host.docker.internal:6061
|
|
|
|
- host.docker.internal:6062
|
2020-11-28 14:26:28 +00:00
|
|
|
- 192.168.255.134:6060
|
|
|
|
- 192.168.255.134:6061
|
|
|
|
- 192.168.255.134:6062
|
2020-10-10 06:06:54 +00:00
|
|
|
- 192.168.255.138:6060
|
|
|
|
- 192.168.255.138:6061
|
2020-10-21 04:22:25 +00:00
|
|
|
- 192.168.255.138:6062
|