Update metrics.py

This commit is contained in:
Brandon Nguyen
2026-07-16 15:49:47 -07:00
parent 1de3bc5066
commit 3f6c3bd695

View File

@@ -3,9 +3,10 @@
import time
import asyncio
import logging
from typing import Callable
_counters: dict[str, int] = {}
_gauges: dict[str, callable] = {}
_gauges: dict[str, Callable] = {}
# Event-loop lag ring buffer (ms), filled by sample_loop_lag().
_lag_samples: list[float] = []