-
Notifications
You must be signed in to change notification settings - Fork 256
[OTel-Sdk] Import changes from Beta branch and synchronize the structures #2698
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
Conversation
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
…keep file history)
…g and span context improvements Major refactoring of the OpenTelemetry core module to synchronise the changes from [Beta] branch this includes improved tree-shaking support, simplify API interfaces, and enhance span lifecycle management. Tracing API changes: - Refactored createOTelApi to use simplified configuration through host context - Added new createTraceProvider and _createTracerProvider for proper tracer caching - Introduced withSpan, useSpan, and startActiveSpan helpers for automatic span lifecycle management - Added onException callback support to span context - Added suppressTracing configuration support for disabling trace recording - Updated createContext to require IOTelApi parameter for context binding Span improvements: - Added traceContext, attribContainer, and events properties to readable spans - Fixed span recording state to respect suppressTracing configuration - Added prototype naming via setProtoTypeName for better debugging visibility - Changed from createDeferredCachedValue to getDeferred for lazy evaluation Tree-shaking optimizations: - Added /*#__NO_SIDE_EFFECTS__*/ annotations throughout utility functions - Converted telemetry class static properties to use external constants (DataTypes.ts, EnvelopeTypes.ts) - Marked deprecated instance properties with @deprecated notices - Added caching to EnvUtils functions to avoid repeated evaluations - Removed unused classes: Data.ts, RemoteDependencyData.ts New semantic conventions: - Added SemanticConventions.ts with OTel attribute constants for Microsoft/Application Insights Consolidated utilities: - Merged HelperFuncsCore.ts into HelperFuncs.ts - Added msToTimeSpan, isTimeSpan, getExtensionByName, isCrossOriginError helpers - Moved createDistributedTraceContextFromTrace to Util.ts with deprecation notice otel-noop package updates: - Reorganized noop logger/processor implementations - Added promise-returning noop helpers - Updated test files and converted to ES5 target - Updated dependencies: @nevware21/ts-utils >=0.12.6, @nevware21/ts-async >=0.5.5 Build configuration: - Re-enabled es5Check in shims rollup config - Removed obsolete package entries from version.json
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
JacksonWeber
approved these changes
Feb 10, 2026
hectorhdzg
approved these changes
Feb 10, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Major refactoring of the OpenTelemetry core module to synchronise the changes from [Beta] branch this includes improved tree-shaking support, simplify API interfaces, and enhance span lifecycle management.
Tracing API changes:
Span improvements:
Tree-shaking optimizations:
New semantic conventions:
Consolidated utilities:
otel-noop package updates:
Build configuration: