Metrics and observability

Updated Nov 29, 2025

When the optional metrics feature is enabled, Wireframe updates the wireframe_connections_active gauge, frame counters tagged by direction, error counters tagged by kind, and a counter for panicking connection tasks. All helpers become no-ops when the feature is disabled so instrumentation can stay in place.[^33] handle_connection, the connection actor, and the panic wrapper call these helpers to maintain consistent telemetry.[^6][^7][^31][^20]