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