Add documentation to the exporters/recorders facade modules.

This commit is contained in:
Toby Lawrence 2019-04-30 09:04:03 -04:00
parent f699b5ad04
commit 7063b552fc
No known key found for this signature in database
GPG Key ID: 3BB201B0EEE9212E
2 changed files with 6 additions and 0 deletions

View File

@ -1,2 +1,5 @@
//! Commonly used exporters.
//!
//! Exporters define where metric output goes: standard output, HTTP, etc.
#[cfg(feature = "metrics-exporter-log")]
pub use metrics_exporter_log::LogExporter;

View File

@ -1,3 +1,6 @@
//! Commonly used recorders.
//!
//! Recorders define the format of the metric output: text, JSON, etc.
#[cfg(feature = "metrics-recorder-text")]
pub use metrics_recorder_text::TextRecorder;