-
Notifications
You must be signed in to change notification settings - Fork 23
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
Telemetry & Metrics #204
Telemetry & Metrics #204
Conversation
can you add some docs related to telemetry in the sidecar's readme? |
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.
LGTM!
bf3335a
to
f46e580
Compare
bolt-sidecar/src/config/mod.rs
Outdated
/// Metrics port | ||
pub metrics_port: u16, | ||
/// Toggle for metrics | ||
pub metrics: bool, |
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.
Can we make this --disable-metrics
instead?
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.
Great PR! Love it awesome!
Closes #116.
Introduces telemetry and metrics into the Bolt sidecar, which are enabled using the
metrics
flag, by spinning up a Prometheus server and basic Grafana dashboard, which are available also for the devnet (see chainbound/ethereum-package#7).The integration with Promtail and Loki will be addressed in a future PR if needed.
NOTE:
telemetry.compose.yml
is currently non-tested on Helder. Main testing has been done with devnet data.Lastly, most of the code is heavily inspired by the work of @merklefruit and @namn-grg on https://github.com/chainbound/bolt-rpc, so thanks a lot for the guideline!