4.2 KiB
4.2 KiB
Aspnetcore
ASP.NET Core Attributes
ASP.NET Core attributes
| Attribute | Type | Description | Examples | Stability |
|---|---|---|---|---|
aspnetcore.diagnostics.exception.result |
string | ASP.NET Core exception middleware handling result | handled; unhandled |
|
aspnetcore.diagnostics.handler.type |
string | Full type name of the IExceptionHandler implementation that handled the exception. |
Contoso.MyHandler |
|
aspnetcore.rate_limiting.policy |
string | Rate limiting policy name. | fixed; sliding; token |
|
aspnetcore.rate_limiting.result |
string | Rate-limiting result, shows whether the lease was acquired or contains a rejection reason | acquired; request_canceled |
|
aspnetcore.request.is_unhandled |
boolean | Flag indicating if request was handled by the application pipeline. | true |
|
aspnetcore.routing.is_fallback |
boolean | A value that indicates whether the matched route is a fallback route. | true |
|
aspnetcore.routing.match_status |
string | Match result - success or failure | success; failure |
aspnetcore.diagnostics.exception.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
aspnetcore.rate_limiting.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
aspnetcore.routing.match_status has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
| Value | Description | Stability |
|---|---|---|
failure |
Match failed | |
success |
Match succeeded |