opentelemetry-js
opentelemetry-js copied to clipboard
OpenTelemetry JavaScript Client
### Is your feature request related to a problem? Please describe. Currently the `User-Agent` header is not set by our exporters [as defined in the specification](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#user-agent). ### Describe the solution...
I need to collect browser metrics that represent user experience. There are [Web Vitals](https://web.dev/vitals/) signals that I wanted to use. This is pretty easy to collect them on the user...
- [x] This only affects the JavaScript OpenTelemetry library - [ ] This may affect other libraries, but I would like to get opinions here first Is it possible to...
When the user provides a value to OTEL_LOG_LEVEL, the diag logger should be enabled without need for further code changes. Original discussion: https://github.com/open-telemetry/opentelemetry-js-api/issues/102
I would like to be able to override `idGenerator` when using NodeSDK: ```js const sdk = new NodeSDK({idGenerator: new AWSXrayIdGenerator()}) ``` But it looks like that option is not supported....
## Which problem is this PR solving? Fixes https://github.com/open-telemetry/opentelemetry-js/issues/3459 Avoid unnecessary stringify of number values as the precision loss is inevitable with `toFixed` too. This also fixes precision loss on...
Hey guys, i have two microsservices, lets say A and B, being traced by opentelemetry. Service A makes HTTP requests to service B and both creates spans but on different...
Could you please change the docs here and https://www.npmjs.com/package/@opentelemetry/auto-instrumentations-node so that we do not confuse the users that JavaScript is doing [automatic instrumentation](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/glossary.md#automatic-instrumentation)? I see that it has library instrumentations,...
Metrics SDK: 0.32.0 ```ts metrics.workersQueueWaitTime.addCallback(({ observe }) => { observe(this.drawWorkers.waitTime.p50, { percentile: 'p50', type: 'draw' }) }) ``` yield: ``` TypeError: Cannot read properties of undefined (reading '_descriptor') at observe...
### Is your feature request related to a problem? Please describe While I can figure out RPS from traces, if traces are sampled, this number is wrong. ### Describe the...