pub const KESTREL_UPGRADED_CONNECTIONS: &str = "kestrel.upgraded_connections";
Expand description

§Description

Number of connections that are currently upgraded (WebSockets). .

The counter only tracks HTTP/1.1 connections.

Meter name: Microsoft.AspNetCore.Server.Kestrel; Added in: ASP.NET Core 8.0

§Metadata

Instrument:updowncounter
Unit:{connection}
Status:Stable

§Attributes

NameRequirement
crate::attribute::NETWORK_TRANSPORTUnspecified
crate::attribute::NETWORK_TYPERecommended: if the transport is tcp or udp
crate::attribute::SERVER_ADDRESSUnspecified
crate::attribute::SERVER_PORTUnspecified