A trace used to name only the calls whose service is an Effect program, about a third of the API. Every oRPC procedure call now opens one span, rpc.<path> (rpc.todo.list, rpc.admin.banUser, rpc.appConfig.get), with the request id in requestId and, when the caller was refused, the error code in rpc.error. The call's Hyperdrive statements and Effect spans are its children. One middleware at the head of every procedure chain opens it, so a new procedure is traced without any code of its own, and a test fails if one is not. Observability and tracing · ADR-0010 · Commit 4b1c9f4
Every API procedure call opens a span
A Worker trace names each oRPC call, with its request id, its database statements and its outcome.
Edit on GitHubDocumentation is in English.