Skip to content

request.handled

View Markdown

A Laravel controller handled an HTTP request.

Category Request Fields 9 honeybadger-laravel

Fields

9
FieldTypeDescription
event_typestringAllowed value: request.handled.
uristringFull request URL.
methodstringHTTP method, e.g. "GET", "POST".
statusCodeintegerHTTP response status code.
durationnumberDuration in microseconds. The client sends a value with an ms suffix, such as "5.123ms". The ingestion pipeline converts it to microseconds.
controllerstring | nullController class name. Null for closure routes or when no route was matched.
actionstring | nullController action method name. Null when no route was matched.
routeNamestring | nullName of the matched route. Null when the route is unnamed or no route was matched.
requestIdstringCorrelation ID for the request, set by the AssignRequestId middleware via Laravel's shared log context. The value comes from the Request-Id or X-Request-Id request header, or is a generated UUID. Present only when that middleware is enabled.

Example

{
"event_type": "request.handled",
"uri": "https://app.example.com/users/123",
"method": "GET",
"statusCode": 200,
"duration": 124000,
"controller": "App\\Http\\Controllers\\UserController",
"action": "show",
"routeName": "users.show",
"requestId": "f3b2c1d0-4e5a-4b6c-8d7e-9f0a1b2c3d4e"
}