- A request we destroy ourselves is ABORT_ERR, not ECONNRESET, and a
fetch abort is ABORT_ERR rather than upstream_error.
- undici and DNS codes the schema lacks (UND_ERR_SOCKET, EAI_AGAIN, ...)
fold into the closest kept code, so a failure always has one.
- node:http records are written when the body ends: a stream cut after
its headers logs ECONNRESET with its status instead of a plain 200.
- Successful storage reads log at debug to keep info volume down.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One info record per HTTP request to an external host (fetch and node:http),
with method, host, a fixed endpoint label, status or error code, duration and
the caller's requestId. Internal hops are skipped. Labels keep only literal
segments, so no owner, repository, path or identifier is logged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>