opentelemetry_semantic_conventions::metric

Constant KESTREL_CONNECTION_DURATION

source
pub const KESTREL_CONNECTION_DURATION: &str = "kestrel.connection.duration";
Expand description

§Description

The duration of connections on the server.

§Notes

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

§Metadata

Instrument:histogram
Unit:s
Status:Stable

§Attributes

NameRequirement
crate::attribute::ERROR_TYPEConditionally_required: if and only if an error has occurred.
crate::attribute::NETWORK_PROTOCOL_NAMERecommended
crate::attribute::NETWORK_PROTOCOL_VERSIONRecommended
crate::attribute::NETWORK_TRANSPORTRecommended
crate::attribute::NETWORK_TYPE{"recommended": "if the transport is tcporudp"}
crate::attribute::SERVER_ADDRESSRecommended
crate::attribute::SERVER_PORTRecommended
crate::attribute::TLS_PROTOCOL_VERSIONRecommended