OptionalbaseDevtools route prefix. Requests under this path are ignored to avoid filling the timeline with its own polling traffic.
OptionalgetResolve the request ID used for event correlation.
OptionalgetResolve a trace context from request/context/response data.
OptionalredactApply a custom redactor to events produced by these hooks. The default devtools redactor still runs when events are stored.
OptionalrequestResponse header used to expose the resolved request ID.
Pass false to avoid writing a header.
OptionalshouldDecide whether to capture a completed request event.
OptionaltraceW3C trace context header used to correlate devtools events with distributed traces.
Pass false to avoid writing a header.
Options for server hooks that record request/error events to devtools.