chore(deps): update OpenTelemetry suite to 0.218.0 / 2.7.1#3810
Conversation
🦋 Changeset detectedLatest commit: 99834b1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughThis PR updates OpenTelemetry dependencies across the monorepo (API 1.9.0→1.9.1, logs to 0.218.0, semantic-conventions to 1.41.1, SDKs/exporters to 2.7.1, host-metrics to 0.38.3), adjusts dependency ordering in apps/webapp, bumps import-in-the-middle to 3.0.1, updates e2e fixture expectations, and adds forceFlush() to ExternalLogRecordExporterWrapper which delegates to the underlying exporter when available. Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
f9c6e95 to
99834b1
Compare
@trigger.dev/build
trigger.dev
@trigger.dev/core
@trigger.dev/plugins
@trigger.dev/python
@trigger.dev/react-hooks
@trigger.dev/redis-worker
@trigger.dev/rsc
@trigger.dev/schema-to-json
@trigger.dev/sdk
commit: |
Brings the OpenTelemetry packages up to the latest coherent release across the webapp and the published packages (
@trigger.dev/core, the CLI,@trigger.dev/sdk) plusinternal-packages/{tracing,testcontainers}:@opentelemetry/sdk-node0.218.0@opentelemetry/core2.7.1@opentelemetry/host-metrics0.38.3We were already on the otel 2.x line, so this is a same-major minor move - the versions are pinned to
@opentelemetry/sdk-node@0.218.0's own declared dependency set so the experimental (0.2xx) and stable (2.x) packages stay coherent (mixing them is the usual otel breakage).One code change: otel 0.215 made
forceFlush()a required method onLogRecordExporter, soExternalLogRecordExporterWrapper(core's tracing SDK) gains aforceFlush()that delegates to the underlying exporter.Notable upgrades along the way: OTLP exporters can take a custom HTTP agent (connection pooling/keepAlive on the export path), HTTP request headers are captured at span creation, and core hot-path perf improvements in 2.6.1/2.7.
host-metrics0.37→0.38 is a clean upgrade.Patch changeset added for the three published packages. References projects are intentionally untouched.
Verified:
@trigger.dev/core/ CLI /@trigger.dev/sdkbuild, webapp +@internal/tracingtypecheck - all green.