Crate metriki_tokio
source ·Expand description
Metriki Tokio Instrument
This library provides tokio-metrics integration for metriki.
Setup
This library provides RuntimeMetrics
by default. Accroding to
tokio-metrics, tokio_unstable
is required for this feature. See
the
doc
for steps to setup the cargo configuration.
To disable unstable features, you can include this library with
default-features = false
.
Usage
An Example is provided in the codebase.
Check docs of tokio-metrics for meaning of the metrics.
Structs
- A MetricsSet works with tokio_metrics
TaskMonitor
. - Builder for
TokioTaskMetricsSet
.
Enums
- Error type for TokioTaskMetricsSetBuilder