Skip to content

v0.7.0

Choose a tag to compare

@hpopp hpopp released this 10 Oct 17:06
· 5 commits to main since this release
9a5f1b7

Added

  • Cloud Logging lines written inside a traced request carry the
    logging.googleapis.com/trace, spanId, and trace_sampled
    fields, so Logs Explorer links each line to its trace in Cloud
    Trace.
  • LOG_LEVEL=trace. Cloud Logging has no severity below DEBUG, so
    a trace line is sent as DEBUG.

Changed

  • Requires Koja 0.20.
  • Upgraded postgres-koja to 0.5.0.
  • Tracing and logging run on the Koja stdlib Trace and Log. The
    vendored lib/log is gone, and lib/open_telemetry now only
    handles traceparent headers and the OTLP export.
  • With no OTEL_EXPORTER_OTLP_ENDPOINT set, no span opens and the
    response carries no traceparent header. Before, an unexported
    span still ran and the header was still set.
  • The embedder's POST /embed span records the error message in its
    status when the request fails, as db.query spans already did.
  • Access log lines no longer start with the trace id. Cloud Logging
    lines carry it in the trace fields instead.