diff --git a/prometheus.yml b/prometheus.yml new file mode 100644 index 0000000..16eee2c --- /dev/null +++ b/prometheus.yml @@ -0,0 +1,14 @@ + global: + scrape_interval: 15s + evaluation_interval: 15s + + # A scrape configuration containing exactly one endpoint to scrape. + scrape_configs: + - job_name: 'go-ethereum' + scrape_interval: 10s + metrics_path: /debug/metrics/prometheus + static_configs: + - targets: + - '127.0.0.1:7310' + labels: + chain: ethereum \ No newline at end of file