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

§Description

Number of exceptions caught by exception handling middleware.

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::ERROR_TYPERequired
crate::attribute::ASPNETCORE_DIAGNOSTICS_HANDLER_TYPEConditionally required: if and only if the exception was handled by this handler.