Skip to content

Commit

Permalink
devnet(monitoring): add ethereum-metrics-exporter and grafana dashboa…
Browse files Browse the repository at this point in the history
…rd for it
  • Loading branch information
samlaf committed Oct 1, 2024
1 parent f86261c commit ea8981f
Show file tree
Hide file tree
Showing 7 changed files with 4,344 additions and 370 deletions.
2 changes: 1 addition & 1 deletion bedrock-devnet/devnet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def devnet_l2_allocs(paths):
def devnet_deploy(paths):

log.info('Starting peripheral telemetry services.')
run_command(['docker', 'compose', 'up', '-d', 'prometheus', 'grafana', 'loki', 'promtail'], cwd=paths.ops_bedrock_dir, env={
run_command(['docker', 'compose', 'up', '-d', 'prometheus', 'grafana', 'loki', 'promtail', 'ethereum-metrics-exporter-l2'], cwd=paths.ops_bedrock_dir, env={
'PWD': paths.ops_bedrock_dir
})

Expand Down
4 changes: 4 additions & 0 deletions ops-bedrock/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,10 @@ services:
- /var/run/docker.sock:/var/run/docker.sock # Mount Docker socket to read container logs
command: -config.file=/etc/promtail/config.yaml

ethereum-metrics-exporter-l2:
image: ethpandaops/ethereum-metrics-exporter:latest
command: --consensus-url http://op-node:8545 --execution-url http://l2:8545

sentinel:
image: quarry/sentinel # TODO(10141): We need a public image for this (sentinel is out of repo)
volumes:
Expand Down
Loading

0 comments on commit ea8981f

Please sign in to comment.