Interface: RequestEntry
Defined in: types/entry.types.ts:58
Extends
Properties
createdAt?
optionalcreatedAt:string
Defined in: types/entry.types.ts:42
Inherited from
familyHash?
optionalfamilyHash:string
Defined in: types/entry.types.ts:44
Inherited from
id?
optionalid:number
Defined in: types/entry.types.ts:39
Inherited from
payload
payload:
object
Defined in: types/entry.types.ts:60
body?
optionalbody:unknown
controllerAction?
optionalcontrollerAction:string
duration
duration:
number
handler?
optionalhandler:string
headers
headers:
Record<string,string>
ip?
optionalip:string
isGraphQL?
optionalisGraphQL:boolean
Indicates if this request is a GraphQL request. Detection based on:
- POST method
- Content-Type: application/json or application/graphql
- Body contains 'query' field with GraphQL syntax
GraphQL requests are excluded from the Requests watcher and only shown in the GraphQL watcher.
memory?
optionalmemory:number
Heap growth across the handler, when watchers.request.captureMemory is
on. Absent otherwise, which is the default — see that option for why.
method
method:
string
params
params:
Record<string,unknown>
path
path:
string
query
query:
Record<string,unknown>
responseBody?
optionalresponseBody:unknown
responseHeaders?
optionalresponseHeaders:Record<string,string>
session?
optionalsession:Record<string,unknown>
statusCode
statusCode:
number
tags?
optionaltags:string[]
url
url:
string
user?
optionaluser:RequestUser
userAgent?
optionaluserAgent:string
requestId?
optionalrequestId:string
Defined in: types/entry.types.ts:41
Inherited from
resolvedAt?
optionalresolvedAt:string
Defined in: types/entry.types.ts:46
Inherited from
tags?
optionaltags:string[]
Defined in: types/entry.types.ts:45
Inherited from
type
type:
"request"
Defined in: types/entry.types.ts:59