counters
azure_bootstrap.counters
¶
Best-effort process-local counters.
Used by the alerts dispatcher, tracing decorator, OpenAI tracker, etc. to
record observability events without taking a hard dependency on any metrics
backend. The values are surfaced via counter_snapshot() and the metrics
endpoint in azure_bootstrap.metrics.
Functions:
| Name | Description |
|---|---|
bump_counter |
Thread-safe increment. Never raises. |
counter_snapshot |
Return a copy of the counter map. |
bump_counter
¶
Thread-safe increment. Never raises.