@opentelemetry/context-async-hooks
Advanced tools
Changelog
1.28.0
feat(sdk-metrics, sdk-trace): add mergeResourceWithDefaults
flag, which allows opting-out of resources getting merged with the default resource #4617
true
(no change in behavior)false
will become the default behavior in the next major version in order to comply with specification requirementsfeat(sdk-trace-base): add spanProcessors
property in TracerConfig
interface. #5138 @david-luna
PeriodicExportingMetricReader
when async resource attributes have not yet settled #5119 @pichlermarcChangelog
1.27.0
status.message
on Span#setStatus()
#4999 @pichlermarcPeriodicExportingMetricReader
#5006 @jj22ee@opentelemetry/propagator-aws-xray
is now located in open-telemetry/opentelemetry-js-contrib@opentelemetry/propagator-aws-xray-lambda
is now located in open-telemetry/opentelemetry-js-contrib@opentelemetry/api
dependency min version to 1.3.0 in examples
, experimental/packages
, integration-tests
and selenium-tests
#4992MetricsAttributes
with Attributes
#5021 @david-lunaSpanAttributes
and MetricsAttributes
with Attributes
#5023 @david-lunanew Span
in tests #5035 @david-lunaChangelog
1.26.0
ATTR_{name}
for attributes (e.g. ATTR_HTTP_REQUEST_METHOD
), {name}_VALUE_{value}
for enumeration values (e.g. HTTP_REQUEST_METHOD_VALUE_POST
), and METRIC_{name}
for metrics. Exported names from previous versions are deprecated.@opentelemetry/semantic-conventions
for stable semantic conventions. Import @opentelemetry/semantic-conventions/incubating
for all semantic conventions, stable and unstable.shimmer
types to 1.2.0 #4865 @lforstgetEnv
function #4799 @danstarnsChangelog
1.25.0
Changelog
1.24.1
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.@opentelemetry/resources
Changelog
1.24.0
service.instance.id
as random UUID. #4608 @maryliaggetEnv()
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.Changelog
1.23.0
Changelog
1.22.0
init()
method public #4418NaN
value recordings in Histograms #4455 @pichlermarc
NaN
on a histogram would result in the sum of bucket count values not matching the overall countMeter.createHistogram()
with the advice explicitBucketBoundaries: []
would throwzone.js
affected by https://github.com/angular/angular/issues/53507 would be pulled in