Files
Andrea Franz 75baca6247 add docker-compose example (#10)
* 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
2018-05-19 02:10:48 +02:00

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']