Skip to content

feat(l1,l2): add ethereum metrics exporter and grafana support #2434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

iovoid
Copy link
Contributor

@iovoid iovoid commented Apr 9, 2025

Motivation

Allows seeing the status of the test network.

Description

  • Implements a net_peerCount dummy (required to enable several ethereum-metrics-exporter modules)
  • Enables ethereum-metrics-exporter with a grafana dashboard in for the kurtosis localnet

Note: prometheus v3 must be used since the prometheus kurtosis package adds fallback_scrape_protocol.

Closes #2317

@iovoid iovoid requested a review from a team as a code owner April 9, 2025 19:13
Copy link

github-actions bot commented Apr 9, 2025

Lines of code report

Total lines added: 5
Total lines removed: 0
Total lines changed: 5

Detailed view
+-----------------------------------------+-------+------+
| File                                    | Lines | Diff |
+-----------------------------------------+-------+------+
| ethrex/crates/networking/rpc/net/mod.rs | 14    | +4   |
+-----------------------------------------+-------+------+
| ethrex/crates/networking/rpc/rpc.rs     | 714   | +1   |
+-----------------------------------------+-------+------+

@iovoid iovoid changed the title feat: Add ethereum metrics exporter and grafana support feat(l1,l2): Add ethereum metrics exporter and grafana support Apr 9, 2025
@iovoid iovoid changed the title feat(l1,l2): Add ethereum metrics exporter and grafana support feat(l1,l2): add ethereum metrics exporter and grafana support Apr 9, 2025
@@ -46,3 +49,7 @@ blockscout_params:
image: "blockscout/blockscout:latest"
verif_image: "ghcr.io/blockscout/smart-contract-verifier:latest"
frontend_image: "ghcr.io/blockscout/frontend:latest"

prometheus_params:
# TODO: switch to latest when it points to v3.x
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when what points to v3.x?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "latest" tag. Currently it's 2.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Try to integrate ethereum-metrics-exporter
2 participants