Skip to content

docs: add CLI telemetry documentation for traces, logs, and metrics - #392

Merged
edenreich merged 1 commit into
mainfrom
fix/issue-389
Jul 14, 2026
Merged

edenreich merged 1 commit into
mainfrom
fix/issue-389

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Resolves #389

Summary

Adds documentation for the CLI's telemetry package, which now supports all three OpenTelemetry signals (metrics, traces, and logs). The new Telemetry section on the CLI page covers local file locations, OTLP/HTTP export configuration, the span hierarchy, metric names, and an example OpenTelemetry Collector setup receiving all three signals. The observability page also gets a CLI Telemetry section with a cross-reference to the full docs.

Changes

  • cli.md: Added a new "Telemetry" section with subsections for local files, metrics, traces, logs, OTLP/HTTP export configuration (OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_HEADERS, per-signal endpoint overrides), an example OpenTelemetry Collector setup receiving all three signals, and viewing telemetry data
  • observability.md: Added a "CLI Telemetry" section with local file locations, OTLP/HTTP export, and an example collector setup, linking to the full CLI telemetry docs

no docs ticket: internal-only refactor

Adds a new Telemetry section to the CLI page covering all three OTel signals (metrics, traces, logs), local file locations under ~/.infer/telemetry/, OTLP/HTTP export configuration via standard env vars, and an example OpenTelemetry Collector setup receiving all three signals.

Also adds a CLI Telemetry section to the observability page with a cross-reference to the full CLI telemetry docs.
@edenreich
edenreich marked this pull request as ready for review July 14, 2026 11:38
@edenreich
edenreich requested a review from a team as a code owner July 14, 2026 11:38
@edenreich
edenreich merged commit f8bfcdc into main Jul 14, 2026
1 check passed
@edenreich
edenreich deleted the fix/issue-389 branch July 14, 2026 11:38
inference-gateway-releaser Bot added a commit that referenced this pull request Jul 18, 2026
## [0.9.2](0.9.1...0.9.2) (2026-07-18)

### 📚 Documentation

* add CLI telemetry documentation for traces, logs, and metrics ([#392](#392)) ([f8bfcdc](f8bfcdc))
* **adk:** align telemetry docs with A2A_TELEMETRY_ENABLE as single trace gate ([#403](#403)) ([fea405f](fea405f)), references [inference-gateway/adk#234](inference-gateway/adk#234)
* **adl-cli,adk:** document OTel service.name/service.version from ADL manifest metadata ([#408](#408)) ([be1b66e](be1b66e))
* **adl-cli:** move generated skills to .agents/skills layout ([#421](#421)) ([2e4e925](2e4e925))
* align ADK telemetry config with OpenTelemetry ([#400](#400)) ([aa0a862](aa0a862))
* **cli-channels:** document channels-manager OTLP telemetry setup ([#415](#415)) ([283ddff](283ddff))
* **cli,a2a:** document A2A agent liveness probes ([#425](#425)) ([5844ea9](5844ea9)), closes [#424](#424)
* **cli:** document distributed tracing - infer traces, telemetry.receiver_address, a2a-traces example ([#406](#406)) ([4fc24f5](4fc24f5)), references [inference-gateway/cli#909](inference-gateway/cli#909)
* document /tasks output panel and agent inherit_mock ([#388](#388)) ([7f3d72b](7f3d72b))
* document built-in skills and tmux skill ([#386](#386)) ([fc013ab](fc013ab))
* document extended spec.telemetry otel exporter fields ([#399](#399)) ([712f6de](712f6de))
* document infer traces command and /traces shortcut ([#393](#393)) ([b938a19](b938a19))
* document infer-action workflow for infer orchestrator ([#396](#396)) ([4e1d792](4e1d792))
* document W3C trace propagation and OTLP span ingestion ([#394](#394)) ([f26494c](f26494c))
* **llamacpp:** add llama.cpp provider documentation ([#417](#417)) ([356f9ac](356f9ac))
* note Go SDK retry cancellation preserves HTTP error ([#382](#382)) ([e39bcab](e39bcab))
* **observability:** document OTEL_METRICS_EXPORTER and Prometheus pull env vars ([#412](#412)) ([b450177](b450177)), closes [#409](#409)
* **operator:** add Orchestrator CRD telemetry reference ([#413](#413)) ([8210e06](8210e06))
* **rust-adk:** document A2A_OTEL_TRACES_EXPORTER trace gating ([#407](#407)) ([29c5f67](29c5f67))
* **sdks:** add llamacpp to supported providers list ([#422](#422)) ([ed2a466](ed2a466))
* **sdks:** document python responses api and zai provider ([#423](#423)) ([c5b608e](c5b608e))

### 🔧 Miscellaneous

* **deps-dev:** bump the bun group with 2 updates ([#384](#384)) ([fc813d8](fc813d8))
* **deps:** bump infer CLI v0.141.0 -> v0.147.1 ([#411](#411)) ([03b6342](03b6342))
* **release:** update GitHub App credentials to use RELEASER_APP_ID and RELEASER_APP_PRIVATE_KEY ([4275006](4275006))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Add tracing and logs configuration to telemetry docs

1 participant