Skip to content

Commit

Permalink
metrics-exporter fix (eth-educators#1814)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne authored Apr 30, 2024
1 parent 8f91f19 commit 2e92622
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 43 deletions.
12 changes: 4 additions & 8 deletions central-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,14 @@ x-logging: &logging
services:
ethereum-metrics-exporter:
restart: "unless-stopped"
build:
context: ./eth-metrics
image: ethereum-metrics-exporter:local
pull_policy: never
environment:
- CLIENT=${COMPOSE_FILE}
image: samcm/ethereum-metrics-exporter:0.23.0-debian
entrypoint:
- docker-entrypoint.sh
- /ethereum-metrics-exporter
- --consensus-url=${CL_NODE}
- --execution-url=${EL_NODE}
<<: *logging
labels:
- metrics.scrape=true
- metrics.path=/metrics
- metrics.port=9090
- metrics.instance=ethereum-metrics-exporter
<<: *logging
3 changes: 0 additions & 3 deletions eth-metrics/Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions eth-metrics/docker-entrypoint.sh

This file was deleted.

10 changes: 3 additions & 7 deletions grafana-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,11 @@ services:

ethereum-metrics-exporter:
restart: "unless-stopped"
build:
context: ./eth-metrics
image: ethereum-metrics-exporter:local
pull_policy: never
environment:
- CLIENT=${COMPOSE_FILE}
image: samcm/ethereum-metrics-exporter:0.23.0-debian
entrypoint:
- docker-entrypoint.sh
- /ethereum-metrics-exporter
- --consensus-url=${CL_NODE}
- --execution-url=${EL_NODE}
<<: *logging
labels:
- metrics.scrape=true
Expand Down
10 changes: 3 additions & 7 deletions grafana-rootless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,11 @@ services:

ethereum-metrics-exporter:
restart: "unless-stopped"
build:
context: ./eth-metrics
image: ethereum-metrics-exporter:local
pull_policy: never
environment:
- CLIENT=${COMPOSE_FILE}
image: samcm/ethereum-metrics-exporter:0.23.0-debian
entrypoint:
- docker-entrypoint.sh
- /ethereum-metrics-exporter
- --consensus-url=${CL_NODE}
- --execution-url=${EL_NODE}
<<: *logging

blackbox-exporter:
Expand Down
10 changes: 3 additions & 7 deletions grafana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,11 @@ services:

ethereum-metrics-exporter:
restart: "unless-stopped"
build:
context: ./eth-metrics
image: ethereum-metrics-exporter:local
pull_policy: never
environment:
- CLIENT=${COMPOSE_FILE}
image: samcm/ethereum-metrics-exporter:0.23.0-debian
entrypoint:
- docker-entrypoint.sh
- /ethereum-metrics-exporter
- --consensus-url=${CL_NODE}
- --execution-url=${EL_NODE}
<<: *logging
labels:
- metrics.scrape=true
Expand Down

0 comments on commit 2e92622

Please sign in to comment.