Expand description

InfluxDb Dispatcher

Crates.io Crates.io License Contributors

Batch metrics collection using influxdb.

Structs

A handle to the InfluxDb metrics recorder. Aborts the submission task when dropped.

Traits

Convert a metric to an influxdb query using the type name.
Aggregator for metrics. An aggregator should collect metrics so they can be batch dispatched.

Functions

Dispatch a single metric to the database. Will emmit a log record if an error occurs.
Dispatch many metrics to the database. These will be dispatched concurrently.