A lightweight metrics facade used in CKB.
The ckb-metrics
crate is a wrapper of metrics
. The crate ckb-metrics-service
is the
runtime which handles the metrics data in CKB.
Use
The basic use of the facade crate is through the metrics macro: [metrics!
].
Examples
use metrics;
# use Instant;
#
#