Expand description
Provides noop implementations of metrics interfaces, to be used by builds which don’t wish to log metrics.
Modules§
- client 🔒
- metrics_
cleanup 🔒 - Provides an tool for metrics client cleanup which may hold global state.
- periodic_
logger 🔒 - request_
handler 🔒
Structs§
- Metrics
Client Destructor - Ensures any cleanup necessary is performed on drop. Can be used to ensure cleanup is done regardless of how the caller exits. Should be idempotent.
- Metrics
Request Handler - Periodic
Logger - A logging struct meant for use in tracking and periodically logging a single metric. The metric is aggregated over the designated time period. Intended for use with high-frequency metrics.
Constants§
Functions§
- get_
destructor - initialize
- This interface exists to be used and re-implemented by downstream forks. Updates shouldn’t be done without ensuring they won’t cause breakages in dependent codebases.
- is_
initialized - log_
descriptor - Logs a counter with the given descriptor as aux. data. A descriptor is generally an enum value or error code.
- log_
event - Logs a counter with no aux. data.
- log_
event_ with_ details - Logs a counter with additional data.
- log_
high_ frequency_ descriptor_ event - Logs a high frequency counter with the supplied aux. data and value.
- log_
histogram_ metric - Logs a histogram metric with the supplied value. Note: step is a value to be added to the distribution.
- log_
metric - Logs a real valued metric (e.g. a data transfer rate, a latency value, etc) with the supplied value.
- log_
metric_ with_ details - Logs a real valued metric (e.g. a data transfer rate, a latency value, etc) with the supplied value & product specific extra details.
- merge_
session_ invariants - push_
descriptors - set_
auth_ token - set_
graphics_ api - set_
package_ name