From f5c259ad619748231f8d19e31d20a524899d42c7 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Wed, 18 Dec 2024 01:44:22 +0300 Subject: [PATCH] Add prometheus.yml --- prometheus.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 prometheus.yml 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