(joinKeys: McpRequestJoinKeys)
| 1017 | // producer: JSON-RPC ids are small per-session integers, so a row without the |
| 1018 | // session key would make `mcp.rpc.id` globally ambiguous. |
| 1019 | const joinKeyAttributes = (joinKeys: McpRequestJoinKeys): Record<string, unknown> => ({ |
| 1020 | "mcp.rpc.id": String(joinKeys.requestId), |
| 1021 | "mcp.request.session_id": joinKeys.sessionId ?? "", |
| 1022 | }); |
| 1023 | |
| 1024 | const startMarker = (name: string, attributes: Record<string, unknown>): Effect.Effect<void> => |
| 1025 | Effect.void.pipe(Effect.withSpan(name, { attributes })); |
no outgoing calls
no test coverage detected