[][src]Crate metrics_exporter_log

Exports metrics via the log crate.

This exporter can utilize recorders that are able to be converted to a textual representation via Into. It will emit that output by logging via the log crate at the specified level.

Run Modes

  • run can be used to block the current thread, taking snapshots and exporting them on an interval
  • into_future will return a Future that when driven will take a snapshot on the configured interval and log it



Exports metrics by converting them to a textual representation and logging them.