You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenTelemetry tracing behind OTEL_EXPORTER_OTLP_ENDPOINT. Each
request runs in a server span that continues an incoming traceparent, with child spans for the database phase, embedding
requests, and MCP tool calls. Spans export as OTLP/JSON over HTTP
in batches. Responses carry a traceparent header and access log
lines start with the trace id when tracing is on.
lib/open_telemetry, the tracing package behind the above, with
W3C context propagation, closure-scoped spans, and a batching
exporter process.
Conn.assigns for request-scoped values, with assign, assigned, and Router.dispatch_conn.
design/OBSERVABILITY.md, the design for runtime-owned trace
context, logging, and metrics in Koja.
Structured logging behind GCP_PROJECT_ID. When it is set, every
log line is one Cloud Logging JSON object with severity, message, and time. Access lines carry the method, path,
status, and latency in httpRequest, and error lines carry the
Error Reporting @type and a serviceContext named by GCP_SERVICE_NAME. Without it, lines stay text. LOG_LEVEL sets
the floor.
lib/log, the logging package behind the above, with a Logger
value, leveled calls, attribute maps, and text and GCP formatters.
Changed
Logging goes through a Logger value built at startup and passed
to the code that logs, in place of the static Log struct.