fix(deps): update dependency @vercel/otel to ^2.2.1
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @vercel/otel | ^2.1.3 → ^2.2.1 |
⚠️ Renovate does not enforce Minimum Release Age for bump, lockfileUpdate, or rollback updates, so these are raised without a Minimum Release Age check. You will need to manually validate the Minimum Release Age for these package(s).
Release Notes
vercel/otel (@vercel/otel)
v2.2.1
Patch Changes
-
#231
bca8b3fThanks @kakadiadarpan! - Processors inspanProcessorsnow receiveonEnding. Use it to change or remove span attributes before any exporter sends the span, including the'auto'exporters.The bundled OpenTelemetry SDK moves from 2.1.0 to 2.3.0, and its experimental packages from 0.205.0 to 0.209.0. SDK 2.1.0 never called
onEnding.OTLP JSON exports now include a
flagsfield on each span and link. This affects spans sent to Vercel and thehttp/jsonexporter. A sampled span sends257, or769when its parent is remote.http/protobufexports don't change.
v2.2.0
Minor Changes
-
#225
33f8cc1Thanks @kakadiadarpan! - Add time limits to span exports.- OTLP export requests now abort after 10s by default, on any platform. Before, they had no timeout. Change it with
timeoutMillisonOTLPHttpProtoTraceExporterorOTLPHttpJsonTraceExporter, or withOTEL_EXPORTER_OTLP_TRACES_TIMEOUTandOTEL_EXPORTER_OTLP_TIMEOUT.@vercel/otelnow reads those env vars, in milliseconds, so10means 10ms. - On Vercel, the span flush queued in
waitUntilgives up after 10s. Change it with the newflushTimeoutMillisoption inregisterOTel. - An export that fails before sending reports the failure right away instead of stalling for 30s.
- OTLP export requests now abort after 10s by default, on any platform. Before, they had no timeout. Change it with
Patch Changes
- #230
9a69a11Thanks @kakadiadarpan! - Fix CVE-2026-54285 in the baggage propagator, whichregisterOTeluses by default. Inboundbaggageheaders are now capped at 180 entries and 8,192 bytes, and entries over 4,096 bytes are skipped. Before, every entry was parsed, however large the header.
v2.1.4
Patch Changes
- #226
ab95b9dThanks @kakadiadarpan! - Fix duplicate spans forhttp.getandhttps.get. If code that ran beforeregisterOTelreplacedgetwith a function that calls the exportedrequest, each call recorded two spans for one request.
Configuration
📅 Schedule: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Summary by cubic
Updates @vercel/otel from ^2.1.3 to ^2.2.1. The new version fixes duplicate span recording for http.get/https.get, adds timeouts to OTLP exports, and includes a security fix for the baggage propagator (CVE-2026-54285).