opentelemetry-js
opentelemetry-js copied to clipboard
OpenTelemetry JavaScript Client
So this came up due to a fun subtle issue with an app. Today, we emit `1.0` as `1` -- [code here](https://github.com/open-telemetry/opentelemetry-js/blob/main/experimental/packages/otlp-transformer/src/common/internal.ts#L38) and you can observe this with a console...
Signed-off-by: secustor Supersedes https://github.com/open-telemetry/opentelemetry-js-api/pull/172 ## Which problem is this PR solving? This PR exposes the `shutdown` and `forcedFlush` functions defined by the [TraceProvider specs](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#shutdown). Providing these methods allows to gracefully...
### Discussed in https://github.com/open-telemetry/opentelemetry-js/discussions/3418 Originally posted by **AM1988** November 17, 2022 Hi there. I have an Angular micro frontend application that communicates with express BFF(backend for frontend). It is bundled...
Relates to #3279 particularly https://github.com/open-telemetry/opentelemetry-js/issues/3279#issuecomment-1302575571 Fixes #3355
Ref https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1193 Ref https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1209 I wanted to make an issue where we can discuss this separately from the contrib bugs and solve it in a more general way. Here is...
**NB:** Before opening a feature request against this repo, consider whether the feature should/could be implemented in the [other OpenTelemetry client libraries](https://github.com/open-telemetry/). If so, please [open an issue on opentelemetry-specification](https://github.com/open-telemetry/opentelemetry-specification/issues/new)...
Node.js 18+ support the native fetch API. The current fetch instrumentation (`instrumentation-fetch`) only works in a web / browser environment. This is because it is importing `sdk-trace-web` and depending on...
This PR is not finished, but open to early feedback on the interfaces/classes of the SDK. Related spec https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/sdk.md
Minor: since 1.13.0, the API spec allows optional attributes in the [GetMeter API](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#get-a-meter): https://github.com/open-telemetry/opentelemetry-js/blob/d154066354863e8c682b4aa488d79c7e914bf91c/api/src/metrics/MeterProvider.ts#L32 _Originally posted by @reyang in https://github.com/open-telemetry/community/issues/1204#issuecomment-1304295098_
### What happened? ## Steps to Reproduce call `createCounter('test_counter').add(1);` from an instance of Chrome on version 106.0.5249.119 (i'm not sure exactly how far back [this open bug](https://bugs.chromium.org/p/chromium/issues/detail?id=1365808&q=timeOrigin&can=2) goes, but it's...