-
Notifications
You must be signed in to change notification settings - Fork 215
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
Add prometheus metrics endpoint #294
Conversation
e76a350
to
5d89f81
Compare
122c3d0
to
69c1443
Compare
what's the progress on this? we also would appreciate having prometheus metrics on boost |
|
||
| **metric** | **type** | **labels** | **description** | | ||
|--------------------------------|----------|------------|---------------------------------------------| | ||
| mev_boost_validator_info | gauge | pubkey | validator identity information | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't having a number of validators successfully registered per relay be more helpful? per pubkey might be a lot of data for validators operating at scale
These changes are deep and extensive into the core system and logic. Considering that mev-boost is run at 50% of all validators, it is too risky and impactful for adding a large amount of new logic in the core flows at the current time. Perhaps consider collecting the metrics from the logs, or thinking about a possible plugin interface. π€ |
Thanks for your feedback @metachris, i may pick this up again later and try coming at it from a different angle π |
@metachris as this PR is implemented as is, seems this would've been behind a |
@ybstaked @metachris happy to reopen and rebase this PR if there's any will to get it implemented Otherwise the suggestion is the approach outlined in #370 |
I sincerely appreciate the effort in adding the prometheus support. As mentioned before, the changes reach too deep into the core program flow to merge and force on a majority of proposers, without extensive review and in particular discussions beforehand. If you feel you'd like to pursue this, then please open an issue and continue the conversation there. |
@metachris since there's already an issue open for this here: #253, what are the discussion points? |
π Summary
An initial implementation of some prometheus metrics for MEV Boost
β± Motivation and Context
I want to be able to monitor my mev-boost container with prometheus to get better operational insight
π References
#253
β I have run these commands
go mod tidy
make test
make lint
make run-mergemock-integration
Getting an error back from
make run-mergemock-integration
, but not sure if it's related to my change