type

RequestObservation

Completed request timing, route, response size, error code, and status metadata.

Properties

PropertyTypeDescription
Timetime.TimeWhen the observation was recorded.
RequestIDstringCorrelates the observation with audit events and logs.
MethodstringThe HTTP request method.
PathstringThe requested URL path.
StatusintThe HTTP response status code.
ErrorCodestringThe stable public Ridu code for a failed request.
ErrorReasonstringErrorReason is the specific code behind ErrorCode, such as origin_denied behind access_denied or body_too_large behind bad_request. Responses carry only ErrorCode; use ErrorReason for monitoring and alerts.
ResponseBytesint64The response-body byte count.
Durationtime.DurationThe complete handler execution time.

Full signature