5 releases (3 breaking)
| 0.4.0 | Jan 22, 2020 |
|---|---|
| 0.3.0 | Jul 30, 2019 |
| 0.2.1 | Jun 11, 2019 |
| 0.2.0 | May 1, 2019 |
| 0.1.0 | Apr 24, 2019 |
#1568 in Debugging
1,408 downloads per month
Used in 3 crates
19KB
238 lines
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.
metrics-exporter-log
metrics-exporter-log is a metrics-core compatible exporter for forwarding metrics to logs.
code of conduct
NOTE: All conversations and contributions to this project shall adhere to the Code of Conduct.
Dependencies
~4MB
~55K SLoC