prometheus-net-contrib
prometheus-net-contrib copied to clipboard
Fix SignalR reported timed out connection value when there are no timed out connections
When there are no timed out connections, the gauge connections-timed-out
reports that these is one.
To reproduce, start a SignalR app, connect a SignalR clients to it, then disconnect it from the app. The gauge will report one timed out connection.