1 instantiation of OpenConnectionsTagKey
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\Metrics\ConnectionMetrics.cs (1)
50new OpenConnectionsTagKey(_protocolVersionTag, _schemeTag, _hostTag, _portTag, idle, _peerAddressTag);
9 references to OpenConnectionsTagKey
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\Metrics\ConnectionMetrics.cs (1)
49private OpenConnectionsTagKey CreateTagKey(bool idle) =>
System\Net\Http\SocketsHttpHandler\Metrics\SocketsHttpHandlerMetrics.cs (8)
14internal readonly struct OpenConnectionsTagKey : IEquatable<OpenConnectionsTagKey> 35public bool Equals(OpenConnectionsTagKey other) => 43public override bool Equals(object? obj) => obj is OpenConnectionsTagKey other && Equals(other); 71private readonly ConcurrentDictionary<OpenConnectionsTagKey, long> _counts = new(); 76public void Increment(in OpenConnectionsTagKey key) 85public void Decrement(in OpenConnectionsTagKey key) 103if (_counts.TryRemove(new KeyValuePair<OpenConnectionsTagKey, long>(key, currentValue))) 126foreach (KeyValuePair<OpenConnectionsTagKey, long> entry in _counts)