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
The CLI Telemetry docs in cli.md and observability.md describe a logs signal the CLI does not have, say telemetry cannot be turned off, and give the wrong baggage member names. cli.md also lists a wrong retry backoff default and a --debug flag that does not exist. Sources are in the inference-gateway/cli repo: internal/platform/telemetry/ (recorder.go, tracer.go, propagation.go) and DefaultConfig in config/config.go.
Acceptance Criteria
cli.md Telemetry and observability.md CLI Telemetry: remove the logs signal. The CLI builds only a meter provider (<session-id>.jsonl, recorder.go) and a tracer provider (<session-id>-traces.jsonl, tracer.go). There is no OTel log provider, no <session-id>-logs.jsonl file and no OTLP log exporter in go.mod, so OTEL_EXPORTER_OTLP_LOGS_ENDPOINT does nothing. Fix the Local files tables, the "all three signals" wording, the OTLP/HTTP export snippets, the logs pipeline in both collector examples, and the "log files are excluded" / "your log aggregator" mentions in Viewing telemetry data.
cli.md Telemetry intro: "Telemetry is always on ... there is no opt-out switch" is wrong. telemetry.enabled (default true, env INFER_TELEMETRY_ENABLED) turns it off: telemetry.New returns nil when it is false, so no files are written, nothing is exported and no trace context is passed to child processes. The same page already says this under Trace context propagation.
cli.md (Environment variables set for child processes table) and observability.md (Trace context propagation): the BAGGAGE members are session.id and gen_ai.tool.call.id, not infer.session.id and infer.tool.call.id (defaultAttrSessionIDKey / defaultAttrToolCallIDKey in propagation.go). Mention that telemetry.attr_session_id_key and telemetry.attr_tool_call_id_key override them.
cli.md Client Retry and Stream Reconnection: client.retry.initial_backoff_sec defaults to 5, not 1 (DefaultConfig in config/config.go; the CLI's own docs/configuration-reference.md also says 5). Fix the YAML example and the settings list.
cli.md Configuration Precedence: the Command Line Flags row cites --debug, which no command defines. The only verbosity flag is the global -v, --verbose; debug logging is logging.debug / INFER_LOGGING_DEBUG.
All five acceptance criteria verified against inference-gateway/cli and fixed.
Verify claims against the CLI sources (recorder.go, tracer.go, propagation.go, DefaultConfig) - all five were accurate
Remove the logs signal from cli.md + observability.md
Fix telemetry.enabled opt-out wording
Fix baggage member names + override keys
Fix client.retry.initial_backoff_sec default (5)
Fix --debug in Configuration Precedence
bun run lint:md, bun run format:check, bun run build - all pass
Commit + open PR
What changed
No logs signal. The CLI builds only a meter provider (<session-id>.jsonl) and a tracer provider (<session-id>-traces.jsonl) - grep for otlploghttp / LoggerProvider / LOGS_ENDPOINT across internal, config and go.mod returns nothing. Removed the Logs row from both Local files tables, dropped the ### Logs section, fixed the "all three signals" wording, removed OTEL_EXPORTER_OTLP_LOGS_ENDPOINT from the export snippets (and noted it has no effect), removed the logs pipeline from both collector examples, and fixed the "log files are excluded" / "your log aggregator" mentions.
telemetry.enabled is a real opt-out.telemetry.New returns nil when !opts.Enabled (recorder.go:167), so "always on ... no opt-out switch" is now telemetry.enabled: false / INFER_TELEMETRY_ENABLED=false.
Baggage names.session.id / gen_ai.tool.call.id (propagation.go:44-45), with the telemetry.attr_session_id_key / telemetry.attr_tool_call_id_key overrides noted on both pages.
Retry backoff.InitialBackoffSec: 5 (config.go:1131) - fixed in the YAML example and the settings list.
No --debug flag. Root only registers -v, --verbose (cmd/root/root.go:80); debug is a subcommand, not a flag. Fixed the Configuration Precedence row, the Troubleshooting snippet (now INFER_LOGGING_DEBUG=true infer chat), and the logging.debug settings entry.
Activity
edenreich commentedon Oct 4, 2026
@claude can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Oct 4, 2026
Claude finished @edenreich's task in 3m 38s —— View job •
docs/issue-955-20261004-1113• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-955-20261004-1113?quick_pull=1&title=Issue%20%23955%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23955%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done - PR #964
All five acceptance criteria verified against
inference-gateway/cliand fixed.recorder.go,tracer.go,propagation.go,DefaultConfig) - all five were accuratecli.md+observability.mdtelemetry.enabledopt-out wordingclient.retry.initial_backoff_secdefault (5)--debugin Configuration Precedencebun run lint:md,bun run format:check,bun run build- all passWhat changed
No logs signal. The CLI builds only a meter provider (
<session-id>.jsonl) and a tracer provider (<session-id>-traces.jsonl) -grepforotlploghttp/LoggerProvider/LOGS_ENDPOINTacrossinternal,configandgo.modreturns nothing. Removed the Logs row from both Local files tables, dropped the### Logssection, fixed the "all three signals" wording, removedOTEL_EXPORTER_OTLP_LOGS_ENDPOINTfrom the export snippets (and noted it has no effect), removed thelogspipeline from both collector examples, and fixed the "log files are excluded" / "your log aggregator" mentions.telemetry.enabledis a real opt-out.telemetry.Newreturns nil when!opts.Enabled(recorder.go:167), so "always on ... no opt-out switch" is nowtelemetry.enabled: false/INFER_TELEMETRY_ENABLED=false.Baggage names.
session.id/gen_ai.tool.call.id(propagation.go:44-45), with thetelemetry.attr_session_id_key/telemetry.attr_tool_call_id_keyoverrides noted on both pages.Retry backoff.
InitialBackoffSec: 5(config.go:1131) - fixed in the YAML example and the settings list.No
--debugflag. Root only registers-v, --verbose(cmd/root/root.go:80);debugis a subcommand, not a flag. Fixed the Configuration Precedence row, the Troubleshooting snippet (nowINFER_LOGGING_DEBUG=true infer chat), and thelogging.debugsettings entry.Nothing left out.
| Branch | PR #964
inference-gateway-releaser commentedon Oct 4, 2026
🎉 This issue has been resolved in version 0.9.21 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀