experimental/v0.51.0
版本发布时间: 2024-04-24 22:43:03
open-telemetry/opentelemetry-js最新发布版本:v1.26.0(2024-08-28 18:43:17)
0.51.0
:boom: Breaking Change
- feat(sdk-node)!: remove long deprecated methods in favor of constructor options #4606 @pichlermarc
-
NodeSDK.configureTracerProvider()
, please use constructor options instead -
NodeSDK.configureMeterProvider()
, please use constructor options instead -
NodeSDK.configureLoggerProvider()
, please use constructor options instead -
NodeSDK.addResource()
, please use constructor options instead -
NodeSDK.detectResources()
, this is not necessary anymore, resources are now auto-detected onNodeSDK.start()
if the constructor optionautoDetectResources
is unset,undefined
ortrue
.
-
- feat(instrumentation): add patch and unpatch diag log messages #4641
- Instrumentations should not log patch and unpatch messages to diag channel.
- feat!(instrumentation): remove moduleExports generic type from instrumentation registration #4598 @blumamir
- breaking for instrumentation authors that depend on
-
InstrumentationBase
-
InstrumentationNodeModuleDefinition
-
InstrumentationNodeModuleFile
-
- breaking for instrumentation authors that depend on
:rocket: (Enhancement)
- refactor(instrumentation-grpc): move to use SEMATTRS #4633
- feat(otlp-transformer): consolidate scope/resource creation in transformer #4600
- feat(sdk-logs): print message when attributes are dropped due to attribute count limit #4614 @HyunnoH
- feat(sdk-node): add usage for the detector ServiceInstanceIdDetectorSync. #4626 @maryliag
- The resource detector can be added to default resource detector list by adding the value
serviceinstance
to the list of resource detectors on the environment variableOTEL_NODE_RESOURCE_DETECTORS
, e.gOTEL_NODE_RESOURCE_DETECTORS=env,host,os,serviceinstance
- The value can be overwritten by
- merging a resource containing the
service.instance.id
attribute - using another resource detector which writes
service.instance.id
- merging a resource containing the
- The resource detector can be added to default resource detector list by adding the value
:bug: (Bug Fix)
1、 SBOM.zip 6.95MB