You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metrics in kona-derive are a set of prometheus types that are spread across the pipeline stages using helper macros. The helper macros handle feature flagging since metrics are not available by default.
We want to provide a more stable and structured way for pipeline consumers to handle metrics.
Each stage should define its own metrics through a trait abstraction.
By default, pipeline construction will provide no-op implementations.
Output
Remove current metrics in kona-derive.
Introduce stage-wise metricer traits with Noop Implementations.
Introduce a metrics module with prometheus-backed metric collection.
The text was updated successfully, but these errors were encountered:
That would be excellent @steph-rs - I've assigned you to the issue! We've already removed metrics from kona-derive and kona-derive-alloy. (See linked PRs below). The next step is basically to introduce a metricer trait that is able to consume metrics. I'd suggest to start by adding metrics to the top-level DerivationPipeline. Some useful metrics may be:
Feel free to ask for help or guidance whenever. Some motivation for why we need this is to provide a dashboard in op-rs with metrics for the derivation pipeline part of the consensus client (aka hera binary).
Description
Metrics in
kona-derive
are a set of prometheus types that are spread across the pipeline stages using helper macros. The helper macros handle feature flagging sincemetrics
are not available by default.We want to provide a more stable and structured way for pipeline consumers to handle metrics.
Each stage should define its own metrics through a trait abstraction.
By default, pipeline construction will provide
no-op
implementations.Output
kona-derive
.metrics
module with prometheus-backed metric collection.The text was updated successfully, but these errors were encountered: