Skip to content

fix(gateway): emit TELEMETRY_TRACING_* env vars - #170

Merged
edenreich merged 2 commits into
mainfrom
feat/issue-168-20260722-1422
Jul 22, 2026
Merged

edenreich merged 2 commits into
mainfrom
feat/issue-168-20260722-1422

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

The gateway container reads TELEMETRY_TRACING_ENABLE and TELEMETRY_TRACING_OTLP_ENDPOINT (upstream inference-gateway/inference-gateway#483), but the operator was emitting TRACING_ENABLE / TRACING_OTLP_ENDPOINT (added in #169) - names the gateway never reads, so declarative tracing silently never turned on.

This renames the two emitted env vars to the names the gateway actually consumes. The Gateway spec and CRD already model tracing via telemetry.traces.exporter.otlp, so no API/CRD change was needed (task manifests generate produces no drift).

Changes

  • gateway_controller.go (buildContainer): emit TELEMETRY_TRACING_ENABLE / TELEMETRY_TRACING_OTLP_ENDPOINT
  • gateway_controller_test.go: expected env vars updated
  • examples/gateway-complete/gateway.yaml: added a telemetry.traces.exporter.otlp block showcasing the feature

Verification

  • task fmt lint - 0 issues
  • task test - all pass
  • task manifests generate - no drift (spec unchanged)

Closes #168

Comment thread examples/gateway-complete/gateway.yaml Resolved
@edenreich
edenreich merged commit 691e3a5 into main Jul 22, 2026
@edenreich
edenreich deleted the feat/issue-168-20260722-1422 branch July 22, 2026 14:30
inference-gateway-releaser Bot added a commit that referenced this pull request Jul 23, 2026
## [0.21.0](v0.20.0...v0.21.0) (2026-07-23)

### ✨ Features

* **agent:** surface ADK MCP client config as A2A_MCP_* ([#172](#172)) ([fbab300](fbab300)), closes [#171](#171)
* **gateway:** add round-robin model routing config ([#176](#176)) ([062f48a](062f48a)), closes [#175](#175)

### 🐛 Bug Fixes

* **gateway:** emit TELEMETRY_TRACING_* env vars ([#170](#170)) ([691e3a5](691e3a5))

### 📚 Documentation

* document shared provider list in AGENTS.md ([#174](#174)) ([1533f59](1533f59))

### 🔧 Miscellaneous

* add skills for both claude and regular agents ([9f3bdf4](9f3bdf4))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.21.0 🎉

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 23, 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.

[FEATURE] Expose TELEMETRY_TRACING_* gateway env vars in Gateway CR mapping

1 participant