opentelemetry-js
opentelemetry-js copied to clipboard
OpenTelemetry JavaScript Client
**Description** `resource` is currently public and incorrectly allows users to modify resource attributes by setting (`provider.resource.attributes["some"] = "value"`) on the fly even though the resource should be immutable. This can...
**Description** `activeSpanProcessor` is currently public and that allows users to modify the span processor by setting it on the fly even though the should be done via `addSpanProcesssor()` or -...
Hi, I am trying to run UT for @opentelemetry/[email protected] by using "npm --prefix api/ run test" command but somehow I am getting the following error-> ```` [root@2858b9d61859 opentelemetry-js]# npm --prefix...
## Steps to Reproduce I have 2 services where this error keeps popping up on different endpoints It's non-fatal, traces still work. [Possibly this](https://github.com/node-fetch/node-fetch/issues/1767) via [this](https://github.com/node-fetch/node-fetch/issues/1576) ## Expected Result Log...
### What happened? ## Steps to Reproduce * Install `@vercel/otel` package. * Execute `npm ci` to install dependencies exactly as defined in the lockfile. * Run the build. ## Expected...
## Which problem is this PR solving? Updates #4567 ## Short description of the changes Replace deprecated imports from `@opentelemetry/semantic-conventions` with new (tree-shakeable) string constants for package `@opentelemetry/opentelemetry-browser-detector`. What I...
This is a draft PR to explore using entrypoints for explicit version imports of semconv Changes: 1. Duplicate existing files to `1.7` dir 2. Add deprecation notes to `index` export...
### Description The `@opentelemetry/otlp-transformer` package contains utilities to serialize signals data to and from OTLP (binary protobuf) or OTLP (json). As all OTLP exporters depend on this package, stabilization of...
This is to document each of the potential solutions we have discussed to update our semantic conventions # Option 1: package.json entry points example: https://github.com/open-telemetry/opentelemetry-js/pull/4770 This option involves adding an...
We use opentelemetry-js in some of our projects and have a small implementation of the `Span` interface to be used in our unit tests. With the release of api v1.9...