Skip to content

Commit

Permalink
debug: add nethermind EL as a new prometheus job
Browse files Browse the repository at this point in the history
  • Loading branch information
nmjustinchan committed Dec 29, 2024
1 parent bfc88fd commit 1fcd600
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ services:
pull_policy: always
stop_grace_period: 3m
tty: true
depends_on:
- pushgateway
volumes:
- ./static/jwtsecret:/tmp/jwt/jwtsecret
- ./static/chainspec.json:/chainspec.json
Expand All @@ -26,6 +28,7 @@ services:
- --Init.DiscoveryEnabled=false
- --Metrics.Enabled=true
- --Metrics.ExposePort=${L2_METRICS_PORT}
- --Metrics.PushGatewayUrl=http://pushgateway:9091
- --JsonRpc.Enabled=true
- --JsonRpc.EnabledModules=[debug,eth,net,web3,txpool,rpc,subscribe,trace,personal,proof,parity,health]
- --JsonRpc.Host=0.0.0.0
Expand Down
6 changes: 5 additions & 1 deletion prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ scrape_configs:
- job_name: 'pushgateway'
honor_labels: true
static_configs:
- targets: ['pushgateway:9091']
- targets: ['pushgateway:9091']
- job_name: 'nethermind'
honor_labels: true
static_configs:
- targets: ['nethermind_execution_l2:8018']

0 comments on commit 1fcd600

Please sign in to comment.