What a request stores
Each completed request keeps method, route, status code, trace id, exception type name, duration, and the operations recorded while that request was active.
| Operation | Name | Extra |
|---|---|---|
| Endpoint | The request itself | Wall-clock duration of the middleware |
| Database | SQL | Redacted command text in Development, duration, parameter count |
| HTTP | Destination host | Duration and status code. Query string is omitted |
The route is the endpoint pattern when ASP.NET Core assigned a RouteEndpoint. Otherwise it is the request path. Query strings are not part of the route.
Possible N+1
N+1 is a heuristic. The same redacted SQL shape, repeated at least NPlusOneRepeatThreshold times in one request, is reported as a possible N+1. The default threshold is 8. Estimated unnecessary queries are count - 1.
The finding is a repeated shape, not a proven missing Include. Development may show the redacted command text, truncated to 160 characters. Production still counts the shape and then drops the text.
- Duration exceeds the slow-request threshold, when it does.
- Primary latency source and its share of this request.
- Concurrent time that was counted once.
- Each possible N+1, with the repeat count and the estimated unnecessary queries.