Skip to content

Add support for ethstats client #15264

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
mattsse opened this issue Mar 25, 2025 · 2 comments · May be fixed by #15301 or #16396
Open

Add support for ethstats client #15264

mattsse opened this issue Mar 25, 2025 · 2 comments · May be fixed by #15301 or #16396
Assignees
Labels
A-observability Related to tracing, metrics, logs and other observability tools C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started

Comments

@mattsse
Copy link
Collaborator

mattsse commented Mar 25, 2025

Describe the feature

based on #4869

docs on this a very hard to come by, wasn't able to find a schema for the messages here https://github.com/ethereum/eth-netstats.

maybe the best reference is

https://github.com/ethereum/go-ethereum/blob/43883c64566602305c079ed6a7c83183f0443dfb/ethstats/ethstats.go#L358-L358

we can implement this multiple incremental steps.
the first would be to introduce a crate reth-ethstats which has support for all the event types we need to emit.
and a websocket connection
later this will then be wired with a Provider instance so it can interact with the node and provide the information.

TODO

some additional references

https://geth.ethereum.org/docs/monitoring/ethstats

Additional context

No response

@mattsse mattsse added A-observability Related to tracing, metrics, logs and other observability tools C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started labels Mar 25, 2025
@programskillforverification
Copy link
Contributor

Can I take this?

@mattsse
Copy link
Collaborator Author

mattsse commented Mar 25, 2025

assigned @programskillforverification

ty

this is larger task so we can take this step by step, feel free to open a draft early and we discuss next steps

@programskillforverification programskillforverification linked a pull request Mar 26, 2025 that will close this issue
@jenpaff jenpaff moved this from Todo to In Progress in Reth Tracker Apr 18, 2025
@fantasyup fantasyup linked a pull request May 21, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-observability Related to tracing, metrics, logs and other observability tools C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started
Projects
Status: In Progress
2 participants