Crate gemachain_metrics

Crate gemachain_metrics 

Source

Modules§

counter
datapoint

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§

CounterToken
A token for TokenCounter.
TokenCounter
A helper that sends the count of created tokens as a datapoint.

Functions§

flush
Blocks until all pending points from previous calls to submit have been transmitted.
query
set_host_id
set_panic_hook
Hook the panic handler to generate a data point on each panic
submit
Submits a new point from any thread. Note that points are internally queued and transmitted periodically in batches.