You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-5
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,7 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/
12
12
### :rocket: (Enhancement)
13
13
14
14
* feat(sdk-trace-base): log resource attributes in ConsoleSpanExporter [#4605](https://github.com/open-telemetry/opentelemetry-js/pull/4605)@pichlermarc
15
-
* feat(resources): set value for `service.instance.id` as random UUID by default if environment variable `OTEL_NODE_EXPERIMENTAL_DEFAULT_SERVICE_INSTANCE_ID` is set to true.
16
-
* The value can be overwritten by
17
-
* merging a resource containing the `service.instance.id` attribute
18
-
* setting `service.instance.id` via the `OTEL_RESOURCE_ATTRIBUTES` environment variable when using `envDetector`
19
-
* using another resource detector which writes `service.instance.id`
15
+
* feat(resources): new detector ServiceInstanceIDDetector that sets the value for `service.instance.id` as random UUID.
it('should configure service instance id via OTEL_RESOURCE_ATTRIBUTES env var even with OTEL_NODE_EXPERIMENTAL_DEFAULT_SERVICE_INSTANCE_ID env var',async()=>{
it('should not configure service instance id with no value for it on OTEL_RESOURCE_ATTRIBUTES env var and OTEL_NODE_EXPERIMENTAL_DEFAULT_SERVICE_INSTANCE_ID env var as false',async()=>{
0 commit comments