Skip to content

fix(auto-instrumentation-node): resource detector from env should be the last detector#3363

Merged
maryliag merged 5 commits intoopen-telemetry:mainfrom
maryliag:fix-resource
Jan 29, 2026
Merged

fix(auto-instrumentation-node): resource detector from env should be the last detector#3363
maryliag merged 5 commits intoopen-telemetry:mainfrom
maryliag:fix-resource

Conversation

@maryliag
Copy link
Copy Markdown
Contributor

The service-instance.id was being set as random uuid, even when there were a custom value on env variable.

This PR fixes the correct priority, having the environment detector for last.

Following open-telemetry/opentelemetry-js#6345

@maryliag maryliag merged commit 97d9ef0 into open-telemetry:main Jan 29, 2026
22 checks passed
@maryliag maryliag deleted the fix-resource branch January 29, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants