Gemini CLI PR adds custom OTLP headers to telemetry, enabling auth'd exports to Grafana and Datadog
jesussamuel-byte · ghdev · 2026-10-06
A community PR on google-gemini/gemini-cli adds custom OTLP headers to the telemetry configuration, letting users export traces, logs, and metrics to authenticated OpenTelemetry endpoints such as Grafana Cloud, Honeycomb, Datadog, or secured collectors.
Key points:
- New otlpHeaders setting accepts both JSON object and comma/semicolon-separated key=value formats, with RFC 7230 header-name validation.
- Values are merged by precedence: settings file < OTELEXPORTEROTLPHEADERS < GEMINITELEMETRYOTLPHEADERS < CLI argument, with case-insensitive dedup.
- Both HTTP and gRPC OTLP exporters pass the headers (or gRPC Metadata) through.
- Settings schema and docs updated, including env-var resolution in settings..
More from coding & agent
- "Find bugs in my app" Called a Surprisingly Effective Prompt — facontidavide · 2026-10-06
- GXL Announces re:AGENT II, an Agentic Science Hackathon in SF on Jan 9-10 — james_y_zou · 2026-10-06
- DHH's agent-built Campfire benchmarks under fire: Rust was fast because it got hand-tuned — rakyll · 2026-10-06
- SelfBench turns real GitHub PRs into evals: open-weight models cost more and do worse — ycombinator · 2026-10-06
- Running agents 12+ hours a day: one dev's multi-subscription setup to dodge AI usage limits — minisculemeatman · 2026-10-06
- 19-Year-Old Student Asks How to Build a ChatGPT Plugin Hitting $100-200 MRR — wallstreetbest0 · 2026-10-06