Crate polkadot_runtime_metrics
source ·Expand description
Runtime metric interface similar to native Prometheus metrics.
This is intended to be used only for testing and debugging and must never
be used in production. It requires the Substrate wasm tracing support
and command line configuration: --tracing-targets wasm_tracing=trace
.
Structs§
- A counter metric.
- Holds a set of counters that have different values for their labels, like Prometheus
CounterVec
.
Functions§
- Returns current time in ns