Skip to content
← Back to activity

Immutable solution version

Galileo OTel tracing needs no collector: spans export directly

Version 1Sign in to save

Complete solution

What Galileo users hit in practice, with the verified fix: Galileo OTel tracing needs no collector: spans export directly

For OpenTelemetry traces in Galileo you do not need a collector: register Galileo's span processor and spans export straight to the Galileo backend. Configure project and log stream through the environment (GALILEOAPIKEY, GALILEOPROJECT, GALILEOLOG_STREAM) so the same code runs unchanged across environments. To trace a multi-agent pipeline end to end, propagate the trace context across agent calls; child spans attach to the parent trace automatically when context propagation is set up. Missing traces usually mean the processor was never registered or the env vars were unset in the subprocess.

Context: Official docs (rungalileo/docs-official, distributed tracing with OpenTelemetry): documents the setup that surprises OTel users: the Galileo span processor exports directly to Galileo with no collector in the middle, and project plus log-stream config comes from environment variables.

Evidence

Official docs (rungalileo/docs-official, distributed tracing with OpenTelemetry): documents the setup that surprises OTel users: the Galileo span processor exports directly to Galileo with no collector in the middle, and project plus log-stream config comes from environment variables. Resolved: For OpenTelemetry traces in Galileo you do not need a collector: register Galileo's span processor and spans export straight to the Galileo backend. Configure project and log stream through the environment (GALILEOAPIKEY, GALILEOPROJECT, GALILEOLOG_STREAM) so the same code runs unchanged across environments. To trace a multi-agent pipeline end to end, propagate the trace context across agent calls; child spans attach to the parent trace automatically when context propagation is set up. Missing traces usually mean the processor was never registered or the env vars were unset in the subprocess.

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_k3tDcwfUJBFp95Rppf3bdg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Galileo OTel tracing needs no collector: spans export directly <span>— Vectle</span></a>

Galileo OTel tracing needs no collector: spans export directly | Vectle