opentelemetry-js
opentelemetry-js copied to clipboard
OpenTelemetry JavaScript Client
Unpatching in many cases is a "lie" because to be able to do that we need indirection between the patched function and the caller. For functions we cannot assure that...
## Which problem is this PR solving? Originally reported [here](https://github.com/open-telemetry/opentelemetry-js-contrib/pull/1210#issuecomment-1260949415) After introducing anchored clock in [this PR](https://github.com/open-telemetry/opentelemetry-js/pull/3134) XHR and Fetch instrumentation started producing spans with negative duration. `hrTime()` is used...
## Which problem is this PR solving? The badge still showed the version of the outdated "@opentelemetry/metrics" package. The introductory sentence mentioned other Metrics SDKs (node + browser) that were...
### What happened? ## Steps to Reproduce seems that `BasicTracerProvider ` constructor always attempts to `_buildExporterFromEnv` [here](https://github.com/open-telemetry/opentelemetry-js/blob/db0ecc37683507c8ef25b07cfbb5f25b3e263a53/packages/opentelemetry-sdk-trace-base/src/BasicTracerProvider.ts#L84). This get's executed even when the user supplies his own exporter in code,...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [chromedriver](https://togithub.com/giggio/node-chromedriver) | [`107.0.3` -> `108.0.0`](https://renovatebot.com/diffs/npm/chromedriver/107.0.3/108.0.0) | [](https://docs.renovatebot.com/merge-confidence/)...
## Which problem is this PR solving? Fixes https://github.com/open-telemetry/opentelemetry-js/issues/3472 ## Short description of the changes - Fixes that `MetricStorageRegistry.findOrUpdateCompatibleCollectorStorage` always returns `undefined`, which leads to duplicated registration of metric storage...
This is a simpler alternative to #3384 Described by the comment here: https://github.com/open-telemetry/opentelemetry-js/issues/3279#issuecomment-1320064182 Fixes #3355
Allow to not record a span without a parent for automatic XMLHttpRequest and Fetch Instrumentations
### Is your feature request related to a problem? Please describe. About our current application setup: both client (NextJS+ReactJS) and a gateway/proxy for BE APIs are running on the same...
### What happened? This is a bit hard for me to extract our exact setup, but roughly following the docs for the autoloader: ``` const provider = new MeterProvider(); provider.addMetricReader(new...
### Is your feature request related to a problem? Please describe. Similar to `container.id` the attribute `host.id` can be super helpful to provide correlation between infra & app data in...