Skip to content

chore: move OpenTelemetry to the 3.x line (sdk-trace-base is removed) - #51

Merged
mattpodwysocki merged 2 commits into
mainfrom
chore/opentelemetry-3
Nov 9, 2026
Merged

mattpodwysocki merged 2 commits into
mainfrom
chore/opentelemetry-3

Conversation

@mattpodwysocki

Copy link
Copy Markdown
Contributor

Same move as mapbox/mcp-server#325, part of mapbox/mcp-server#319.

@opentelemetry/sdk-trace-base is deprecated in every 2.x release and removed in 3.0, and the ox-security scan flags it. This moves the OpenTelemetry set to the 3.0 line:

  • Packages: sdk-trace 3.0.0 replaces sdk-trace-base, along with resources 3.0.0, sdk-node, instrumentation and exporter-trace-otlp-http 0.300.0, auto-instrumentations-node 0.82.0 and api 1.10.0. This stays on 3.0.0 rather than 3.1.0, which came out on 2026-11-05.
  • Code: the console exporter is now imported from sdk-trace.
  • Node: engines goes from >=22 to >=22.15.0, the 3.x minimum. The Dockerfile (node:22-slim) and CI are already past that.
  • Checked: tests, typecheck, lint and build pass. I ran the built server (ESM and CommonJS) against a local OTLP collector: tool.search_mapbox_docs_tool and its undici GET spans arrived.

🤖 Generated with Claude Code

sdk-trace-base is deprecated in 2.x and removed in 3.0. Same change as
mapbox/mcp-server#325: sdk-trace 3.0.0 with the matching 0.300.0
packages, and engines raised to Node >=22.15.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mattpodwysocki mattpodwysocki added the enhancement New feature or request label Nov 6, 2026
@mattpodwysocki
mattpodwysocki requested a review from a team as a code owner November 6, 2026 17:47
@mattpodwysocki mattpodwysocki added the enhancement New feature or request label Nov 6, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mattpodwysocki
mattpodwysocki merged commit 073cc05 into main Nov 9, 2026
3 checks passed
@mattpodwysocki
mattpodwysocki deleted the chore/opentelemetry-3 branch November 9, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants