The Jaeger trace exporter and propagation format will be deprecated in Grafana v13.4 and removed in v14
Grafana v13.4 will deprecate these Jaeger-specific tracing features, and Grafana v14 will remove them:
- The Jaeger exporter, which sends Grafana’s own traces to Jaeger. The
[tracing.opentelemetry.jaeger]section configures it. - The legacy
[tracing.jaeger]section, and theJAEGER_AGENT_HOSTandJAEGER_AGENT_PORTenvironment variables. - The
jaegerpropagation format, which passes trace context between services in theuber-trace-idHTTP header.
All of these will still work in Grafana v13.4. Starting with v13.4, Grafana will log a deprecation warning at startup when you use the Jaeger exporter or the jaeger propagation format.
Grafana v14 will ignore the [tracing.opentelemetry.jaeger] and [tracing.jaeger] sections and the JAEGER_AGENT_HOST and JAEGER_AGENT_PORT environment variables, the same way it ignores any setting it doesn’t recognize. If you rely on them, Grafana will stop sending traces to Jaeger, and the sampling and tag settings in [tracing.jaeger] will stop applying.
Grafana v14 will also no longer accept jaeger as a propagation value. If propagation includes jaeger, Grafana v14 won’t start. Grafana will use only the W3C Trace Context headers (traceparent and tracestate), and will stop reading and writing uber-trace-id.
To prepare, switch to the OpenTelemetry Protocol (OTLP) exporter and W3C Trace Context, and move any [tracing.jaeger] settings to [tracing.opentelemetry]. Jaeger accepts OTLP natively:
# Before
[tracing.jaeger]
always_included_tag = env:prod
sampler_type = probabilistic
sampler_param = 0.1
[tracing.opentelemetry.jaeger]
address = http://jaeger:14268/api/traces
propagation = jaeger,w3c
# After
[tracing.opentelemetry]
custom_attributes = env:prod
sampler_type = probabilistic
sampler_param = 0.1
[tracing.opentelemetry.otlp]
address = <JAEGER_HOST>:<OTLP_PORT>
propagation = w3cWhy we’re changing it
The OpenTelemetry project deprecated the Jaeger exporter for Go, and it no longer gets updates. OpenTelemetry and the Jaeger project also deprecated the Jaeger propagation format in favor of W3C Trace Context, which OpenTelemetry SDKs use by default. Jaeger accepts OTLP natively, so the replacements cover the same use cases with maintained, standard formats. Removing these also removes deprecated dependencies that security scanners report.
What is not changing
- The OTLP exporter in
[tracing.opentelemetry.otlp]works as before. - The settings in
[tracing.opentelemetry], includingcustom_attributes,sampler_type,sampler_param, andsampling_server_url, work as before. - W3C Trace Context propagation (
propagation = w3c) is the default and works as before. - Remote sampling with the Jaeger remote sampling API (
sampler_type = remotein[tracing.opentelemetry]) works as before. - The Jaeger data source is not affected. This change only affects how Grafana sends its own traces and passes trace context, not how you query traces stored in Jaeger.
- Grafana Cloud users need no action.
What to check before this rolls out
- Check your Grafana configuration file (
grafana.iniorcustom.ini) and environment for the[tracing.opentelemetry.jaeger]and[tracing.jaeger]sections, environment variables that start withGF_TRACING_OPENTELEMETRY_JAEGER_orGF_TRACING_JAEGER_,JAEGER_AGENT_HOSTandJAEGER_AGENT_PORT, andpropagationvalues that includejaeger. If none are set, you need no action. The exporter’s deprecation warning names the setting that selected the exporter in itsconfiguredByfield. - If you set
addressin[tracing.opentelemetry.jaeger]or[tracing.jaeger], or setJAEGER_AGENT_HOSTandJAEGER_AGENT_PORT, setaddressin[tracing.opentelemetry.otlp]to the OTLP endpoint of your Jaeger collector instead, before you upgrade to Grafana v14. Refer to the configuration reference for the address format. - If your Jaeger collector requires TLS, set
insecure = falsein[tracing.opentelemetry.otlp]. The OTLP exporter uses an unencrypted connection by default. - If you send traces to a Jaeger agent over UDP, for example
localhost:6831, point the OTLP exporter at a service that accepts OTLP instead. That can be a Jaeger collector, an OpenTelemetry Collector, or Grafana Alloy. The OTLP exporter doesn’t send over UDP. - Check that your Jaeger deployment accepts OTLP. Current Jaeger releases accept it by default.
- If you set
sampler_type,sampler_param, orsampling_server_urlin[tracing.jaeger], set the same keys in[tracing.opentelemetry]instead. If you setalways_included_tag, setcustom_attributesin[tracing.opentelemetry]instead, with the samekey:valueformat. Settings in[tracing.opentelemetry]already take precedence over[tracing.jaeger], so you can move them before you upgrade. - If you set
zipkin_propagationordisable_shared_zipkin_spansin[tracing.jaeger], remove them. They have no effect in current releases. - If
propagationincludesjaeger, check that the services that send requests to Grafana, and the services Grafana calls, such as data sources and proxies, send and accept thetraceparentheader. Services that only useuber-trace-idwill stop linking their traces to Grafana’s. While you move them, setpropagation = jaeger,w3cin[tracing.opentelemetry.otlp]. Removejaegerbefore you upgrade to Grafana v14, or Grafana won’t start. Grafana ignorespropagationin[tracing.opentelemetry.jaeger]when it uses the OTLP exporter. - If you configure Grafana with environment variables, use the
GF_TRACING_OPENTELEMETRY_OTLP_andGF_TRACING_OPENTELEMETRY_equivalents. For example, replaceGF_TRACING_OPENTELEMETRY_JAEGER_ADDRESS,GF_TRACING_JAEGER_ADDRESS,JAEGER_AGENT_HOST, andJAEGER_AGENT_PORTwithGF_TRACING_OPENTELEMETRY_OTLP_ADDRESS, andGF_TRACING_JAEGER_SAMPLER_TYPEwithGF_TRACING_OPENTELEMETRY_SAMPLER_TYPE. - After you switch, restart Grafana. Confirm that the deprecation warnings are gone and that new Grafana traces appear in Jaeger.