Skip to content

chore: upgrade OpenTelemetry to 2.x#101

Open
mattpodwysocki wants to merge 3 commits intomainfrom
chore/upgrade-otel-2x
Open

chore: upgrade OpenTelemetry to 2.x#101
mattpodwysocki wants to merge 3 commits intomainfrom
chore/upgrade-otel-2x

Conversation

@mattpodwysocki
Copy link
Copy Markdown
Contributor

Summary

  • Upgrades @opentelemetry/resources and @opentelemetry/sdk-trace-base from ^1.30.1 to ^2.6.1 (stable 2.x)
  • Upgrades experimental packages (sdk-node, instrumentation, exporter-trace-otlp-http) from ^0.56.0 to ^0.214.0 (aligned with 2.x)
  • Upgrades auto-instrumentations-node from ^0.56.0 to ^0.72.0
  • Upgrades semantic-conventions from ^1.30.1 to ^1.40.0
  • Migrates new Resource({...})resourceFromAttributes({...}) in src/utils/tracing.ts — the Resource class was removed in 2.x

Test plan

  • npm run build passes
  • npm test — 541 tests pass
  • CI green

🤖 Generated with Claude Code

mattpodwysocki and others added 3 commits April 1, 2026 14:16
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- @opentelemetry/resources: ^1.30.1 → ^2.6.1
- @opentelemetry/sdk-trace-base: ^1.30.1 → ^2.6.1
- @opentelemetry/sdk-node: ^0.56.0 → ^0.214.0
- @opentelemetry/instrumentation: ^0.56.0 → ^0.214.0
- @opentelemetry/exporter-trace-otlp-http: ^0.56.0 → ^0.214.0
- @opentelemetry/auto-instrumentations-node: ^0.56.0 → ^0.72.0
- @opentelemetry/semantic-conventions: ^1.30.1 → ^1.40.0
- @opentelemetry/api: ^1.9.0 → ^1.9.1

Migrates new Resource({...}) to resourceFromAttributes({...}) per the 2.x API change.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mattpodwysocki mattpodwysocki requested a review from a team as a code owner April 14, 2026 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant