referrerpolicy=no-referrer-when-downgrade

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§

Counter
A counter metric.
CounterVec
Holds a set of counters that have different values for their labels, like Prometheus CounterVec.
Histogram
LabeledMetric

Functions§

get_current_time
Returns current time in ns