What changed
The A2A ADK telemetry configuration was aligned with OpenTelemetry conventions in inference-gateway/adk#228 (closes inference-gateway/adk#227). This introduces new public config env vars that should be documented on the user-facing docs site.
New / changed configuration
Standard OpenTelemetry variables (read without a prefix; take precedence over the deprecated TELEMETRY_* aliases):
OTEL_METRICS_EXPORTER - prometheus (default) | otlp | none
OTEL_TRACES_EXPORTER - otlp | none (default)
OTEL_EXPORTER_OTLP_ENDPOINT - OTLP base URL shared by traces and metrics
OTEL_EXPORTER_OTLP_PROTOCOL - http/protobuf (default) | grpc
OTEL_EXPORTER_PROMETHEUS_HOST / OTEL_EXPORTER_PROMETHEUS_PORT
Deprecated aliases (still honored): TELEMETRY_METRICS_HOST/PORT, TELEMETRY_TRACE_ENABLE, TELEMETRY_TRACE_ENDPOINT, TELEMETRY_TRACE_HEADERS.
Configurable attribute / baggage keys (default to OTel semantic conventions):
TELEMETRY_ATTR_SESSION_ID_KEY - default session.id
TELEMETRY_ATTR_TOOL_CALL_ID_KEY - default gen_ai.tool.call.id
New capability: OTLP metrics push (periodic reader) alongside the existing Prometheus pull endpoint. The Prometheus pull server only runs when metrics resolve to the prometheus exporter.
Affected pages
- Telemetry / observability configuration reference for the ADK.
- Any env-var matrix that lists
TELEMETRY_* variables.
Source
What changed
The A2A ADK telemetry configuration was aligned with OpenTelemetry conventions in inference-gateway/adk#228 (closes inference-gateway/adk#227). This introduces new public config env vars that should be documented on the user-facing docs site.
New / changed configuration
Standard OpenTelemetry variables (read without a prefix; take precedence over the deprecated
TELEMETRY_*aliases):OTEL_METRICS_EXPORTER-prometheus(default) |otlp|noneOTEL_TRACES_EXPORTER-otlp|none(default)OTEL_EXPORTER_OTLP_ENDPOINT- OTLP base URL shared by traces and metricsOTEL_EXPORTER_OTLP_PROTOCOL-http/protobuf(default) |grpcOTEL_EXPORTER_PROMETHEUS_HOST/OTEL_EXPORTER_PROMETHEUS_PORTDeprecated aliases (still honored):
TELEMETRY_METRICS_HOST/PORT,TELEMETRY_TRACE_ENABLE,TELEMETRY_TRACE_ENDPOINT,TELEMETRY_TRACE_HEADERS.Configurable attribute / baggage keys (default to OTel semantic conventions):
TELEMETRY_ATTR_SESSION_ID_KEY- defaultsession.idTELEMETRY_ATTR_TOOL_CALL_ID_KEY- defaultgen_ai.tool.call.idNew capability: OTLP metrics push (periodic reader) alongside the existing Prometheus pull endpoint. The Prometheus pull server only runs when metrics resolve to the
prometheusexporter.Affected pages
TELEMETRY_*variables.Source
docs/telemetry.mdandREADME.mdin inference-gateway/adk.