django.request
A Django view finished handling an HTTP request.
Fields
11| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: django.request. |
path | string | Request path, e.g. "/users/42". |
method | string | HTTP method, e.g. "GET", "POST". |
status | integer | HTTP response status code. |
view | string | Resolved view function name. |
module | string | Module containing the view function. |
app | string | Django app name from the URL resolver. |
duration | number | Request duration in milliseconds. |
params | object | GET and POST params. Only present when include_params is enabled in insights_config. |
params.* | any | Additional caller-defined keys. |
request_id | string | Request ID from X-Request-ID header, request.id/request_id attribute, or a generated UUID. Set in event context at request start. |
Example
{ "event_type": "django.request", "path": "/users/123", "method": "GET", "status": 200, "view": "user_detail", "module": "myapp.views", "app": "users", "duration": 58.3214, "params": { "page": "2", "sort": "name" }, "request_id": "1f9f6f1a-2b3c-4d5e-8f6a-7b8c9d0e1f2a"}