opentelemetry-js
opentelemetry-js copied to clipboard
OpenTelemetry JavaScript Client
When browser navigation or resource timing apis don't set a certain timing value or report it as 0 (e.g connectionStart, responseStart,...) the spans generated by instrumentations like like xhr/fetch/resource report...
### What happened? ## Steps to Reproduce ```ts import { W3CBaggagePropagator } from "@opentelemetry/core" ``` ## Expected Result being able to compile and run the code ## Actual Result Runtime...
## Which problem is this PR solving? The current implementation of OTLP exporter is not working in ServiceWorker of browsers, due to `XMLHttpRequest` and `window` are not supported in the...
Semver type definition can't be resolved from @opentelemetry/instrumentation when use rollup bundler
### What happened? ## Steps to Reproduce The following is the rollup.config.js I use to create a browser esm bundle. I also tried to add "@types/semver": "^7.5.6" in my package.json,...
[SemanticResourceAttributes](https://github.com/open-telemetry/opentelemetry-js/blob/44b0b29dea98217130bc4e68d6c9b6901e75aef7/packages/opentelemetry-semantic-conventions/src/resource/SemanticResourceAttributes.ts#L18) is missing the [`cloud.resource_id`](https://opentelemetry.io/docs/specs/semconv/attributes-registry/cloud/) resource attribute key.
Web SDK
Related issue https://github.com/open-telemetry/opentelemetry-js/issues/4702 ## Short description of the changes This introduces a Web SDK, similar to the [Node SDK](https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-sdk-node) package. This should simplify installation and configuration for users. Currently, it...
### Is your feature request related to a problem? Please describe. Currently, transport, configuration (options and environment variables) as well as serialization code are all mixed together in the OTLP...
### What happened? ## Steps to Reproduce - create a `jest` test that sets up instrumentation using `opentelemetry/otlp-grpc-exporter-base` - ensure that the test does very little else e.g. ```ts describe("my...
### What happened? ## Steps to Reproduce In my [open source project](https://github.com/openapi-typescript-infra/service), I am on [email protected] and http instrumentation @0.43. When I upgrade to the latest, most things seem to...
`Span.addLink()` as defined in the [specifcation](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#add-link) is currently not implemented. We should implement `Span.addLink()` in both the SDK and API. **Additional Information:** - there are efforts to stabilize `Span.addLink()` (https://github.com/open-telemetry/opentelemetry-specification/issues/3865)...