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
Behavior worth documenting: root spans on all routes except /health and /v1/metrics, gen_ai provider/model span attributes on /v1/chat/completions and /v1/messages, one child span per MCP tool execution, and W3C traceparent propagation in and out (incoming headers honored; provider, proxy, and MCP requests carry traceparent). Sampling and exporter tuning use the standard OTEL_TRACES_SAMPLER / OTEL_EXPORTER_OTLP_* env vars.
Acceptance Criteria
Both env vars documented with defaults
Tracing behavior (span coverage, propagation, excluded routes) described on the observability page
Note that sampling/exporter tuning uses standard OTEL_* env vars
Added TELEMETRY_TRACING_ENABLE (default false) and TELEMETRY_TRACING_OTLP_ENDPOINT (default http://localhost:4318) to the Telemetry settings table and the complete-config .env example.
Clarified that tracing is a separate opt-in from metrics and links to the tracing section.
observability.md (Distributed Tracing section)
Rewrote the intro to reflect the two-flag opt-in (TELEMETRY_ENABLE=trueandTELEMETRY_TRACING_ENABLE=true) and the TELEMETRY_TRACING_OTLP_ENDPOINT default.
Span coverage - root spans on all inbound routes except/health and /v1/metrics; gen_ai provider/model attributes on /v1/chat/completions and /v1/messages; one child span per MCP tool execution.
Context propagation - W3C traceparent honored inbound; carried outbound on provider, proxy, and MCP requests.
Sampling and exporter tuning - documented the standard OTEL_TRACES_SAMPLER / OTEL_EXPORTER_OTLP_* env vars and the per-signal endpoint precedence.
Updated the "Traces missing" troubleshooting entry and the Jaeger endpoint reference to match.
All three acceptance criteria are covered. lint:md, format:check, and build pass locally.
Activity
edenreich commentedon Jul 22, 2026
@claude Can you work on this?
inference-gateway-maintainer commentedon Jul 22, 2026
Claude finished @edenreich's task in 5m 37s —— View job •
docs/issue-457-20260722-1402• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-457-20260722-1402?quick_pull=1&title=Issue%20%23457%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23457%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documenting OpenTelemetry tracing configuration
TELEMETRY_TRACING_ENABLE+TELEMETRY_TRACING_OTLP_ENDPOINTin configuration.mdOpened PR #459.
What changed
configuration.mdTELEMETRY_TRACING_ENABLE(defaultfalse) andTELEMETRY_TRACING_OTLP_ENDPOINT(defaulthttp://localhost:4318) to the Telemetry settings table and the complete-config.envexample.observability.md(Distributed Tracing section)TELEMETRY_ENABLE=trueandTELEMETRY_TRACING_ENABLE=true) and theTELEMETRY_TRACING_OTLP_ENDPOINTdefault./healthand/v1/metrics;gen_aiprovider/model attributes on/v1/chat/completionsand/v1/messages; one child span per MCP tool execution.traceparenthonored inbound; carried outbound on provider, proxy, and MCP requests.OTEL_TRACES_SAMPLER/OTEL_EXPORTER_OTLP_*env vars and the per-signal endpoint precedence.All three acceptance criteria are covered.
lint:md,format:check, andbuildpass locally.docs/issue-457-20260722-1402docs(observability): document tracing config env vars
chore(release): 🔖 0.9.3 [skip ci]
inference-gateway-releaser commentedon Jul 22, 2026
🎉 This issue has been resolved in version 0.9.3 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀