fix(core): align inconsistent behavior of getEnv() and getEnvWithoutDefaults() when a process polyfill is used #4648@pichlermarc
getEnvWithoutDefaults() would use process.env if it was defined when running in a browser, while getEnv() would always use _globalThis. Now both use _globalThis when running in a browser.
fix(core): align inconsistent behavior of getEnv() and getEnvWithoutDefaults() when a process polyfill is used #4648@pichlermarc
getEnvWithoutDefaults() would use process.env if it was defined when running in a browser, while getEnv() would always use _globalThis. Now both use _globalThis when running in a browser.
fixes a circular import warning which would appear in rollup when bundling @opentelemetry/resources
fix(exporter-metrics-otlp-grpc): add explicit otlp-exporter-base dependency to exporter-metrics-otlp-grpc #4678@AkselAllas
1.24.0
:rocket: (Enhancement)
feat(sdk-trace-base): log resource attributes in ConsoleSpanExporter #4605@pichlermarc
feat(propagator-aws-xray): moved AWS Xray propagator from contrib 4603@martinkuba
feat(resources): new experimental detector ServiceInstanceIdDetectorSync that sets the value for service.instance.id as random UUID. #4608@maryliag
:bug: (Bug Fix)
fix(sdk-trace-web): fix invalid timings in span events #4486@Abinet18
fix(resources): ensure BrowserDetector does not think Node.js v21 is a browser #4561@trentm
fix(core): align inconsistent behavior of getEnv() and getEnvWithoutDefaults() when a process polyfill is used #4648@pichlermarc
getEnvWithoutDefaults() would use process.env if it was defined when running in a browser, while getEnv() would always use _globalThis. Now both use _globalThis when running in a browser.
Commits
41c2626 Merge pull request #4682 from dynatrace-oss-contrib/release/1.24.x-0.51.x-2
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @opentelemetry/resources from 1.23.0 to 1.24.1.
Release notes
Sourced from
@opentelemetry/resources
's releases.Changelog
Sourced from
@opentelemetry/resources
's changelog.Commits
41c2626
Merge pull request #4682 from dynatrace-oss-contrib/release/1.24.x-0.51.x-27cb72a6
chore: prepare release 1.24.1/0.51.18a6d03f
chore: sync package-lock.json, adapt changelogdfc883c
fix(exporter-metrics-otlp-grpc) Add explicit otlp-exporter-base depen… (#4678)75817d7
fix(deps): update dependency import-in-the-middle to v1.7.4 (#4667)fe132d7
fix(core): align inconsistent behavior of getEnv() and getEnvWithoutDefaults(...307e33a
fix(resources): prevent circular import (resource -> detector -> resource -> ...3ab4f76
chore: prepare release 1.24.0/0.51.0 (#4650)31eb60d
feat!(instrumentation): add patch and unpatch diag log messages (#4641)99431df
feat!(instrumentation): remove moduleExports generic type from instrumentatio...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show