Skip to content
Merged
Show file tree
Hide file tree
Changes from 101 commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
806a27b
docs: add OpenTelemetry SDK 0.31 migration plan
Feb 19, 2026
0965290
deps: upgrade OpenTelemetry dependencies to 0.31
Feb 19, 2026
c267f4e
refactor: remove internal datadog_exporter, use external crate
Feb 19, 2026
1d60fc5
chore: remove obsolete telemetry code
Feb 19, 2026
43ee7fb
fix: update Resource to use builder API
Feb 19, 2026
9edc267
fix: replace Key::string()/array() with KeyValue::new()
Feb 19, 2026
53a13eb
fix: update instrument builders .init() to .build()
Feb 19, 2026
c4a7a65
fix: add parent_span_is_remote field to SpanData
Feb 19, 2026
26f48c5
fix: partial OTel 0.31 SDK API migration
Feb 19, 2026
9570e32
fix: continue OTel 0.31 SDK migration - tracing and exporter changes
Feb 23, 2026
9e08691
fix: migrate OTLP exporter API from new_exporter() to builder pattern
Feb 23, 2026
97298de
fix: update ResourceDetector::detect() signature for OTel 0.31
Feb 23, 2026
992ff1b
fix: add opentelemetry-datadog to regular dependencies
Feb 23, 2026
b968cc8
fix: remove TemporalitySelector code for OTel 0.31
Feb 23, 2026
e2f2b28
fix: migrate View API from new_view() to closures for OTel 0.31
Feb 23, 2026
9346e75
fix: replace shutdown_tracer_provider() for OTel 0.31
Feb 23, 2026
accf1db
fix: migrate Zipkin exporter to builder API for OTel 0.31
Feb 23, 2026
35bb88b
fix: update SpanExporter impl for OTel 0.31 API changes
Feb 23, 2026
4c596dd
fix: rename TracerProvider to SdkTracerProvider for OTel 0.31
Feb 23, 2026
1395dca
fix: update Temporality import path for OTel 0.31
Feb 23, 2026
c2fd7f3
docs: update OTel 0.31 migration plan with learnings
Feb 23, 2026
7ed8317
deps: upgrade tonic to 0.14.5 for opentelemetry-otlp compatibility
Feb 23, 2026
e8d935a
fix: update SpanProcessor implementations for OTel 0.31 API
Feb 23, 2026
dea7871
fix: update SpanExporter implementations for OTel 0.31 API
Feb 23, 2026
b6811e8
fix: migrate build script to tonic-prost-build 0.14
Feb 23, 2026
88b69a0
fix: update ExportError import for OTel 0.31
Feb 23, 2026
9ce83a9
fix: update Aggregation import paths for OTel 0.31
Feb 23, 2026
b45a9c1
fix: update aggregation.rs for OTel 0.31 metrics API
Feb 23, 2026
f9a79d8
fix: remove AggregationSelector in favor of Views API for OTel 0.31
Feb 23, 2026
dfe50b1
fix: update MeterProvider and InstrumentProvider APIs for OTel 0.31
Feb 23, 2026
9885bca
fix: continue OTel 0.31 SDK API migration
Feb 23, 2026
0978de3
fix: continue OTel 0.31 SDK metrics and trace API migration
Feb 24, 2026
ceba2ca
fix: complete OTel 0.31 test code API migration
Feb 24, 2026
ef8c2d8
fix: metric assertion macro attribute ordering
Feb 24, 2026
b93b9c4
fix: Fixes around gauge behaviour and registering of callbacks.
Feb 25, 2026
d0512d9
fix: centralize default histogram view to prevent duplicate metrics
Feb 25, 2026
a9b2b60
fix: remove duplicate attribute in test assertion
Feb 25, 2026
f89a407
fix: Fix duplicate metric attributes. Caused by map turning to list.
Feb 25, 2026
eb9928c
fix: use async runtime BatchSpanProcessor for Apollo tracing exporter
Feb 25, 2026
4f037ff
fix: update OTLP trace snapshots for OTel 0.31 span flags
Feb 25, 2026
cd368d2
fix: prevent OTel SDK errors for observable gauges without readers
Feb 25, 2026
2c6eb79
fix: filter OTel 0.31 internal INFO logs from router output
Feb 25, 2026
a0013ab
fix: resolve clippy warnings and restore Apollo histogram buckets
Feb 25, 2026
8b0e9b0
fix: use async runtime PeriodicReader for Apollo OTLP metrics
Feb 25, 2026
a0be142
chore: remove unused Config import in tracer tests
Feb 25, 2026
672f759
chore: remove unused imports and mut binding
Feb 25, 2026
ccfcc4b
chore: fix unreachable_pub warnings in datadog propagator tests
Feb 25, 2026
67ca0dd
fix: clippy
Feb 25, 2026
69ec1ca
fix: use async runtime BatchSpanProcessor/PeriodicReader for public O…
Feb 25, 2026
d89c8ff
fix: use async runtime BatchSpanProcessor in test infrastructure
Feb 25, 2026
6937878
fix: use spawn_blocking for set_tracer_provider during reload
Feb 25, 2026
4972817
fix: work around opentelemetry-zipkin 0.31 missing service name
Feb 25, 2026
5a0220f
fix: remove test_trace_error test for OTel 0.31
Feb 25, 2026
bee260e
fix: support multiple callbacks per observable gauge name
Feb 25, 2026
021b1b7
fix: defer Redis metrics creation until Telemetry.activate()
Feb 26, 2026
e29fd2d
test: fix flaky subscription passthrough tests
Feb 26, 2026
a8d1496
test: increase chaos reload delay to reduce flakiness
Feb 26, 2026
4d4dfce
fix: update local datadog exporter for OTel 0.31 API compatibility
Feb 26, 2026
fd7d0be
lint fmt
Feb 26, 2026
eb6e6f4
chore: fix clippy lint warnings
Feb 26, 2026
461357d
Merge branch 'dev' into bryn/otel-0.31-migration
BrynCooke Feb 26, 2026
fc30eee
fix: add socket2 dependency with 'all' feature for fred tcp-user-time…
Feb 26, 2026
e2935ed
refactor: Make temporality in OTLP config Copy to simplify code
Mar 2, 2026
ca9cfdc
refactor: Make view errors panic rather than silently ignoring
Mar 2, 2026
8c6202d
refactor: attribute value now panics on unknown otel value conversion
Mar 2, 2026
46bddd7
refactor: Move otel export constructor code to consistent location
Mar 2, 2026
f591728
fix: readd batch processor concurrent and timeout features.
Mar 2, 2026
eaf5ce2
Merge branch 'dev' into bryn/otel-0.31-migration
Mar 3, 2026
0817d82
fix: delete accidentally added files (#8941)
BrynCooke Mar 3, 2026
4a263b4
chore: remove exemption for vulnerable protobuf version (#8940)
goto-bus-stop Mar 3, 2026
27fc377
Remove tonic-build dependency (#8938)
rohan-b99 Mar 3, 2026
d22261d
Remove duplicate NoopInstrumentProvider (#8945)
rohan-b99 Mar 4, 2026
a483909
Use `.into` instead of `Key::new` when calling `Resource::get` for re…
rohan-b99 Mar 4, 2026
4417db4
chore: use a resource detector to populate default service name
goto-bus-stop Mar 4, 2026
b93d03e
chore: verify & commentate socket2 requirement (#8955)
goto-bus-stop Mar 4, 2026
2692f56
Panic when matching on `opentelemetry::Value` unhandled variant inste…
rohan-b99 Mar 4, 2026
c5e63b5
Replace custom `exponential_buckets` fn with `prometheus::exponential…
rohan-b99 Mar 4, 2026
7a898aa
Make metrics filter tests simpler by using `.contains` instead of `it…
rohan-b99 Mar 4, 2026
50d6a9f
refactor: extend_attributes now uses upsert_attributes (#8949)
BrynCooke Mar 4, 2026
546471e
fix: Add back `apollo.router.telemetry.metrics.cardinality_overflow` …
BrynCooke Mar 4, 2026
86f8e96
chore: remove now-obsolete `MeterProvider.` filter from logging tests…
goto-bus-stop Mar 4, 2026
42d12e1
Ensure `Stream::builder` panics instead of silently failing (#8958)
rohan-b99 Mar 4, 2026
3384b7c
Combine `is_registered_for_provider ` and `mark_registered_for_provid…
rohan-b99 Mar 5, 2026
7cd59b6
fix: clean shutdown in ApolloOtlpExporter (#8969)
goto-bus-stop Mar 5, 2026
33731bf
Remove unnecessary `with_metrics` calls in metrics configuration test…
rohan-b99 Mar 5, 2026
cf18b1d
Always use `periodic_reader_with_async_runtime::PeriodicReader` (#8968)
rohan-b99 Mar 5, 2026
ef450ea
feat: add MeteredBatchSpanProcessor for batch processor error metrics…
BrynCooke Mar 5, 2026
831f731
Use `block_in_place` in `reload_tracing` (#8971)
rohan-b99 Mar 6, 2026
328decd
Restore Env overrides config.yaml (#8977)
BrynCooke Mar 6, 2026
c64301d
rate limit otel log events (#8973)
BrynCooke Mar 6, 2026
7645612
remove dead code
Mar 6, 2026
3fe0e36
docs: deprecate native Zipkin exporter in favor of OTLP
Mar 6, 2026
9f8d478
Revert "docs: deprecate native Zipkin exporter in favor of OTLP"
Mar 6, 2026
0c5312f
chore: expand and harden AggregateMeterProvider trace-silencing durin…
goto-bus-stop Mar 9, 2026
b23f6c8
chore: remove sleeps from subscription tests (#8954)
goto-bus-stop Mar 10, 2026
2c82180
docs: deprecate native Zipkin exporter in favor of OTLP (#8978)
BrynCooke Mar 10, 2026
732bea4
Refactor noop meter providers, remove filter and return if no readers…
rohan-b99 Mar 10, 2026
510f89b
Merge user-configured metrics views into defaults (#8995)
rohan-b99 Mar 10, 2026
04b74db
merge dev
Mar 10, 2026
1511194
changeset
Mar 11, 2026
db416e7
merge dev
Mar 11, 2026
d0831d5
delete unused file
goto-bus-stop Mar 11, 2026
230be7c
Use full "OpenTelemetry" name in changeset
goto-bus-stop Mar 11, 2026
62b7b10
Remove duplicate feature from Cargo.toml
goto-bus-stop Mar 11, 2026
51f145c
chore: reintroduce `test_redis_storage_with_mocks` test (#9010)
goto-bus-stop Mar 11, 2026
518f196
Re-add test_trace_error without the log line assertion as its no long…
rohan-b99 Mar 12, 2026
589954d
Revert name change for tokio runtime
Mar 13, 2026
4b8dc4c
Merge dev
Mar 13, 2026
970f6e4
Change otlp/zipkin/datadog NamedTokioRuntime instances to have -traci…
rohan-b99 Mar 13, 2026
f58588e
Fix test_trace_error using "otlp" instead of "otlp-tracing"
rohan-b99 Mar 13, 2026
4da2309
tweak waiting in `test_redis_storage_with_mocks` test
goto-bus-stop Mar 13, 2026
99a75cf
Make `cargo machete` happy
goto-bus-stop Mar 13, 2026
638280e
Merge branch 'dev' into bryn/otel-0.31-migration
rohan-b99 Mar 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .changesets/maint_bryn_otel_0_31_migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### Update to Otel 0.31.0 ([PR #8922](https://github.com/apollographql/router/pull/8922))

The Router now uses Otel 0.31.0. This update includes many bug fixes and performance improvements from upstream.

The Router does not guarantee the stability of downstream pre 1.0 APIs so users that directly interact with OTel must update their code accordingly.
Comment thread
goto-bus-stop marked this conversation as resolved.
Outdated

As part of this upgrade Zipkin Native exporter has been deprecated as this is being [deprecated upstream](https://opentelemetry.io/blog/2025/deprecating-zipkin-exporters/). Users should switch to OTLP exporter, which Zipkin now supports natively.

Zipkin Native exporter also no longer supports setting service name, users that need this should switch to OTLP exporter.


By [@BrynCooke](https://github.com/BrynCooke) [@goto-bus-stop](https://github.com/goto-bus-stop) [@rohan-b99](https://github.com/rohan-b99) in https://github.com/apollographql/router/pull/8922
Loading
Loading