Expand description
Exports metrics via the log crate.
This exporter can utilize observers that are able to be converted to a textual representation
via Drain<String>. It will emit that output by logging via the log crate at the specified
level.
§Run Modes
- Using
runwill block the current thread, capturing a snapshot and logging it based on the configured interval. - Using
async_runwill return a future that can be awaited on, mimicing the behavior ofrun.
Structs§
- LogExporter
- Exports metrics by converting them to a textual representation and logging them.