opentelemetry_semantic_conventions::metric

Constant ASPNETCORE_DIAGNOSTICS_EXCEPTIONS

source
pub const ASPNETCORE_DIAGNOSTICS_EXCEPTIONS: &str = "aspnetcore.diagnostics.exceptions";
Expand description

§Description

Number of exceptions caught by exception handling middleware.

§Notes

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

§Metadata

Instrument:counter
Unit:{exception}
Status:Stable

§Attributes

NameRequirement
crate::attribute::ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULTRequired
crate::attribute::ASPNETCORE_DIAGNOSTICS_HANDLER_TYPEConditionally_required: if and only if the exception was handled by this handler.
crate::attribute::ERROR_TYPERequired