-
Notifications
You must be signed in to change notification settings - Fork 19
feat: support OpenTelemetry JS SDK 2.x #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
kakadiadarpan
merged 40 commits into
vercel:main
from
bengigone:feat/support-opentelemetry-2x
Sep 29, 2025
Merged
Changes from 8 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
0b0d1bc
feat: support OpenTelemetry JS SDK 2.x
bengigone 42945f1
Resolving linting issues
bengigone cbf098d
feat: revert to custom protobuf encoding for 2.x compatibility
bengigone 64a9843
feat: use custom proto encoding for otel 2.x support
bengigone 37bac3d
feat: implement custom protobuf encoding with OpenTelemetry 2.x compa…
bengigone 6b8211a
Remove package-lock.json
bengigone 32cd780
fix: use official createExportTraceServiceRequest and improve protobu…
bengigone 9ad64dd
update lockfile
kakadiadarpan 02e46aa
Resolving comments
bengigone c24a59b
[build] increase build size temporarily
kakadiadarpan b1bda52
[opentelemetry] update OTel deps in all the packages/apps
kakadiadarpan cbc9c16
[otel] add missing context manager setup in sdk
kakadiadarpan 8d43337
[collector] fix imports & types
kakadiadarpan 0a0ea48
[otelzero] update tests
kakadiadarpan 6d6869a
[otelzero] fix types & build size
kakadiadarpan 5e436d1
add util to normalize id
kakadiadarpan 1956819
[otelzero] add createGauge
kakadiadarpan 5bab857
[dependencies] fix version conflicts to drop bundle size
kakadiadarpan 2116caf
update build size limit
kakadiadarpan 574fcac
[configuration] update logRecordProcessors type & setup
kakadiadarpan 4543f03
fix env parsing & contextManager disabling
kakadiadarpan 68d1b75
[env] load all env vars together
kakadiadarpan a0fbff9
fix: make SDK start() synchronous and add @internal annotationsRetry
bengigone d036965
remove usage of legacy `addLogRecordProcessor`
kakadiadarpan d62a92d
[env-parser] eslint and add comment
kakadiadarpan b79a447
drop void as start is not async anymore
kakadiadarpan 1fb0065
[collector] normalize traceId before using them
kakadiadarpan 3603246
add changeset & pre for beta release
kakadiadarpan 6eabb51
update migration guide
kakadiadarpan 3758bd5
[otel] update logs sdk version
kakadiadarpan 963b1bb
update metricReaders types
kakadiadarpan 8f86520
update @opentelemetry/api allowed versions
kakadiadarpan 8e91d86
update configuration section
kakadiadarpan f5e904e
add node.js version requirement changes
kakadiadarpan 15e3490
[packages] run prettier
kakadiadarpan a986198
[tests] run prettier
kakadiadarpan 497e83d
[changeset] run prettier
kakadiadarpan 99a9432
[changesets] update
kakadiadarpan 2cf7cf1
remove pre.json to do a snapshot release
kakadiadarpan b62e0aa
reformat changesets
kakadiadarpan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 4 additions & 12 deletions
16
packages/otel/src/exporters/exporter-trace-otlp-proto-fetch.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.