Re-exports§
pub use crate::metrics::flush;
pub use crate::metrics::query;
pub use crate::metrics::set_host_id;
pub use crate::metrics::set_panic_hook;
pub use crate::metrics::submit;
Modules§
- counter
- datapoint
- This file defines a set of macros for reporting metrics.
- metrics
- The
metrics
module enables sending measurements to anInfluxDB
instance - poh_
timing_ point - A poh_timing_point module
Macros§
- create_
counter - create_
datapoint - datapoint
- datapoint_
debug - datapoint_
error - datapoint_
info - datapoint_
trace - datapoint_
warn - inc_
counter - inc_
counter_ info - inc_
new_ counter - inc_
new_ counter_ debug - inc_
new_ counter_ error - inc_
new_ counter_ info - inc_
new_ counter_ warn
Structs§
- Counter
Token - A token for
TokenCounter
. - Moving
Stat - Token
Counter - A helper that sends the count of created tokens as a datapoint.