Crate influxdb_dispatcher

Source
Expand description

§InfluxDb Dispatcher

Crates.io Crates.io License Contributors

Batch metrics collection using influxdb.

Structs§

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

Traits§

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

Functions§

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