opentelemetry_semantic_conventions::metric

Constant KESTREL_UPGRADED_CONNECTIONS

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

§Description

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

§Notes

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_TRANSPORTRecommended
crate::attribute::NETWORK_TYPE{"recommended": "if the transport is tcporudp"}
crate::attribute::SERVER_ADDRESSRecommended
crate::attribute::SERVER_PORTRecommended