Module observability::metrics[][src]

Metrics

WIP metrics helper for counting values and sending tracing events. This is designed to be fast so everything is on the stack. This means you need to keep the metric sets small (<100 metrics per set). If you need more then make a new set.

Functions

init

Enable all metrics for your program

is_enabled

Is metrics currently enabled? Call init() to enable.