Documentation / @zerotal/monitor / RequestEntry
Interface: RequestEntry
Defined in: monitor/src/store/types.ts:176
Properties
id
id:
number
Defined in: monitor/src/store/types.ts:177
method
method:
string
Defined in: monitor/src/store/types.ts:178
path
path:
string
Defined in: monitor/src/store/types.ts:179
status
status:
number
Defined in: monitor/src/store/types.ts:180
ms
ms:
number
Defined in: monitor/src/store/types.ts:181
when
when:
string
Defined in: monitor/src/store/types.ts:182
nplus
nplus:
boolean
Defined in: monitor/src/store/types.ts:183
payload
payload:
RequestPayload|null
Defined in: monitor/src/store/types.ts:185
Captured payload (headers + bodies), or null when capture is off / unavailable.
user
user:
string|null
Defined in: monitor/src/store/types.ts:187
Authenticated user (id or email), or null when the request was unauthenticated.
ip
ip:
string|null
Defined in: monitor/src/store/types.ts:189
Client IP address, or null when unavailable.
memKb
memKb:
number
Defined in: monitor/src/store/types.ts:191
Process heap (KB) at request completion — a per-request memory proxy.
context
context:
Record<string,unknown>
Defined in: monitor/src/store/types.ts:193
Custom metadata attached via Monitor.context(...) during the request.
error
error:
string|null
Defined in: monitor/src/store/types.ts:195
The exception message, when this request failed — links the request to its error.
spans
spans:
RequestSpan[]
Defined in: monitor/src/store/types.ts:196
queries
queries:
RequestQuery[]
Defined in: monitor/src/store/types.ts:197
logs
logs:
RequestLog[]
Defined in: monitor/src/store/types.ts:198