mirror of
https://github.com/status-im/geth_exporter.git
synced 2026-08-31 10:11:14 +00:00
* add docker-compose example * add prometheus example configuration * add grafana example * move example to docker-compose-example * initialize rpc client lazily * rename example folder * retry 10 times before failing if geth.ipc is create after starting * update prometheus config in grafana * remove unused dashboard
26 lines
692 B
YAML
26 lines
692 B
YAML
global:
|
|
scrape_interval: 5s # By default, scrape targets every 15 seconds.
|
|
|
|
|
|
|
|
# A scrape configuration containing exactly one endpoint to scrape:
|
|
# Here it's Prometheus itself.
|
|
scrape_configs:
|
|
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
|
|
- job_name: 'prometheus'
|
|
|
|
# Override the global default and scrape targets from this job every 5 seconds.
|
|
scrape_interval: 5s
|
|
|
|
static_configs:
|
|
- targets: ['localhost:9090']
|
|
|
|
- job_name: 'geth_exporter'
|
|
|
|
# Override the global default and scrape targets from this job every 5 seconds.
|
|
scrape_interval: 2s
|
|
|
|
static_configs:
|
|
- targets: ['geth_exporter:9200']
|
|
|