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§
- Tokio
Task Metrics Set - A MetricsSet works with tokio_metrics
TaskMonitor. - Tokio
Task Metrics SetBuilder - Builder for
TokioTaskMetricsSet.
Enums§
- Tokio
Task Metrics SetBuilder Error - Error type for TokioTaskMetricsSetBuilder