pub struct InfluxDbHandle<M> { /* private fields */ }
Expand description
A handle to the InfluxDb metrics recorder.
Aborts the submission task when dropped.
Start the metrics task.
This task will run indefinitely, but will be aborted when the handle is dropped.
Submit a metric.
There is no strong guarantee that the metric will be recorded. It may actually be
discarded if we’re struggling to dispatch all metrics.
Formats the value using the given formatter.
Read more
Executes the destructor for this type.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Instruments this type with the provided
Span
, returning an
Instrumented
wrapper.
Read more
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.