From 1d16ddf82921f583a17a53ea620bd145bae1b02a Mon Sep 17 00:00:00 2001 From: yorickdowne <71337066+yorickdowne@users.noreply.github.com> Date: Tue, 30 Apr 2024 11:39:29 +0200 Subject: [PATCH] Fix metrics-exporter EL url (#1815) --- central-metrics.yml | 2 +- grafana-cloud.yml | 2 +- grafana-rootless.yml | 2 +- grafana.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/central-metrics.yml b/central-metrics.yml index 04156168..59636625 100644 --- a/central-metrics.yml +++ b/central-metrics.yml @@ -14,7 +14,7 @@ services: entrypoint: - /ethereum-metrics-exporter - --consensus-url=${CL_NODE} - - --execution-url=${EL_NODE} + - --execution-url=http://execution:${EL_RPC_PORT:-8545} <<: *logging labels: - metrics.scrape=true diff --git a/grafana-cloud.yml b/grafana-cloud.yml index 99f08501..24201bb1 100644 --- a/grafana-cloud.yml +++ b/grafana-cloud.yml @@ -46,7 +46,7 @@ services: entrypoint: - /ethereum-metrics-exporter - --consensus-url=${CL_NODE} - - --execution-url=${EL_NODE} + - --execution-url=http://execution:${EL_RPC_PORT:-8545} <<: *logging labels: - metrics.scrape=true diff --git a/grafana-rootless.yml b/grafana-rootless.yml index cc2bcb08..4fc2f2c9 100644 --- a/grafana-rootless.yml +++ b/grafana-rootless.yml @@ -38,7 +38,7 @@ services: entrypoint: - /ethereum-metrics-exporter - --consensus-url=${CL_NODE} - - --execution-url=${EL_NODE} + - --execution-url=http://execution:${EL_RPC_PORT:-8545} <<: *logging blackbox-exporter: diff --git a/grafana.yml b/grafana.yml index a27f51a8..df301a51 100644 --- a/grafana.yml +++ b/grafana.yml @@ -38,7 +38,7 @@ services: entrypoint: - /ethereum-metrics-exporter - --consensus-url=${CL_NODE} - - --execution-url=${EL_NODE} + - --execution-url=http://execution:${EL_RPC_PORT:-8545} <<: *logging labels: - metrics.scrape=true