opentelemetry-js
opentelemetry-js copied to clipboard
OpenTelemetry JavaScript Client
Implement the [`OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION`](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk_exporters/otlp.md#additional-configuration) environment variable from the spec for selecting between default OTLP histogram aggregation impls.
# Description The OTLP exporter base is currently in `@opentelemetry/exporter-metrics-oltp-http` which means that all other exporters have to depend on this package which is odd. `@opentelemtry/otlp-exporter-base` currently holds all shared...
## Which problem is this PR solving? This makes it possible to use a custom `http.Agent` with the exporters, which enables some useful use cases, mainly proxying, without having to...
## Description The `@opentelemetry/api-logs` package currently exports a few types that we might be able to make internal. The goal of this issue is to identify these and then remove...
# the problem Running tests with Node.js v23 (since v23.6.0) fails: ```bash % npm test > @opentelemetry/[email protected] test > nyc mocha test/**/*.test.ts --exclude 'test/platform/browser/**/*.ts' (node:93409) ExperimentalWarning: Type Stripping is an...
Pulls in changes from the first prototype and applies them to the 2.0 SDK TODO: - [x] e2e tests - [ ] unit tests - [ ] add entity detectors...
We added the support for the opentelemetry instrumentation for azure functions, we created a new package to support the [azure-functions-nodejs-opentelemetry](https://github.com/Azure/azure-functions-nodejs-opentelemetry), and we want to make sure our instrumentation supports both...
All public exports should be defined by their type. This prevents private class properties and methods from affecting typescript's compatibility check. For example: the `LogRecord` class should not be exported,...
in node as well as in browser one can declare errors like: ```js new AggregateError( [ new Error("test error 1"), new Error("test error 2", { cause: new Error("test error 3")...
## Which problem is this PR solving? Fixes the following eslint warnings: ``` /home/runner/work/opentelemetry-js/opentelemetry-js/api/src/diag/ComponentLogger.ts 36:25 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 40:25 warning Unexpected any. Specify a different...