opentelemetry-js
opentelemetry-js copied to clipboard
OpenTelemetry JavaScript Client
Fixes an issue where bundlers (esbuild) fail to build because of es module interop issues. Import in the middle does not have a `default` export, which means `import IITM from...
### What happened? ## Steps to Reproduce Create some Metric instruments in a specific Meter, then create another Metric reader exporting the data somewhere else. ## Expected Result All Metric...
### What happened? Warning output from `esbuild` bundler. ``` ▲ [WARNING] Constructing "ImportInTheMiddle" will crash at run-time because it's an import namespace object, not a constructor [call-import-namespace] node_modules/@opentelemetry/instrumentation-mongoose/node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js:259:30: 259 │...
In `@opentelemetry/instrumentation` we test `RequireInTheMiddleSingleton` by using the `cpx2` package. https://github.com/open-telemetry/opentelemetry-js/blob/63d74cdc366fc337be66c1a766a2cc8e5275a85a/experimental/packages/opentelemetry-instrumentation/test/node/RequireInTheMiddleSingleton.test.ts#L42-L43 As we don't use the `cpx2` package anywhere else anymore, having a local test package would help us get...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/superagent](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/superagent) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/superagent)) | [`4.1.24` -> `8.1.7`](https://renovatebot.com/diffs/npm/@types%2fsuperagent/4.1.24/8.1.7) |...
### Is your feature request related to a problem? Please describe. I've just seen the new Tracer in the experiments (`SugaredTracer`). However, I'd like to avoid duplicating the function `onException`...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://redirect.github.com/eslint/eslint)) | [`8.44.0` -> `9.13.0`](https://renovatebot.com/diffs/npm/eslint/8.44.0/9.13.0) | [](https://docs.renovatebot.com/merge-confidence/) |...
## API 1.9.0 ### :rocket: (Enhancement) * feat(api): allow adding span links after span creation [#4536](https://github.com/open-telemetry/opentelemetry-js/pull/4536) @seemk * This change is non-breaking for end-users, but breaking for Trace SDK implementations...
## Which problem is this PR solving? Recently, `HostDetector` was added as default for detectors in `NodeSDK`, this produces the error message: `Accessing resource attributes before async attributes settled`, as...
Same as https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2025 for core repo. This issue is intended to track the necessary change of updating each package to use the new exports for semantic conventions that were added...