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.
Value | Description | Stability |
---|---|---|
aborted | Exception handling didn’t run because the request was aborted. | |
handled | Exception was handled by the exception handling middleware. | |
skipped | Exception handling was skipped because the response had started. | |
unhandled | Exception was not handled by the exception handling middleware. |
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.
Value | Description | Stability |
---|---|---|
acquired | Lease was acquired | |
endpoint_limiter | Lease request was rejected by the endpoint limiter | |
global_limiter | Lease request was rejected by the global limiter | |
request_canceled | Lease request was canceled |
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 |
Feedback
Was this page helpful?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!