Module metrics

Module metrics 

Source

Structs§

AgentDDSketch
DDSketch implementation based on the Datadog Agent.
BinMap
A split representation of sketch bins.
Config
Controller
Controller allows capturing metric snapshots.
MetricLabel
A label name that should be preserved on metric keys when present as a tracing-span field.

Enums§

Error

Statics§

LABELS
Snapshot of every registered MetricLabel, built on first access. inventory populates all submissions before main, so the snapshot is guaranteed to capture every entry — the hot path is then a single set lookup against this static.

Functions§

init_global
Initialize the default metrics sub-system
init_test
Initialize the thread-local metrics sub-system. This function will loop until a recorder is actually set.