Crate ckb_metrics
source ·Expand description
A lightweight metrics facade used in CKB.
The ckb-metrics
crate is a set of tools for metrics.
The crate ckb-metrics-service
is the runtime which handles the metrics data in CKB.
Structs§
Statics§
- Indicate whether the metrics service is enabled. This value will set by ckb-metrics-service
Functions§
- if metrics service is enabled,
handle()
will returnSome(&'static METRICS)
else will returnNone