Relay dashboard (#191)

* expose metrics for Prometheus

* added preconfigured configs for Prometheus and Grafana

* metrics-related cli args

* fix compilation
This commit is contained in:
Svyatoslav Nikolsky
2020-07-17 21:48:59 +03:00
committed by Bastian Köcher
parent bebb5e6035
commit 8121b3f82b
15 changed files with 744 additions and 1 deletions
@@ -0,0 +1,9 @@
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'relay_node'
# Override the global default and scrape targets from this job every 5 seconds.
scrape_interval: 5s
static_configs:
- targets: ['127.0.0.1:9616']