@elastic/opentelemetry-browser 0.3.0 → 0.4.0-canary-default-20261029-8a23738
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE.md +0 -5764
- package/README.md +0 -2
- package/build/elastic-otel-browser.js +8163 -9108
- package/build/elastic-otel-browser.js.map +4 -4
- package/build/elastic-otel-browser.min.js +8 -8
- package/build/elastic-otel-browser.min.js.map +4 -4
- package/lib/context.js +87 -15
- package/lib/detector.js +4 -14
- package/lib/logging.js +2 -0
- package/lib/sdk.js +171 -116
- package/lib/semconv.js +34 -0
- package/lib/session.js +388 -0
- package/lib/version.js +1 -1
- package/package.json +11 -18
- package/types/context.d.ts +2 -1
- package/types/detector.d.ts +5 -17
- package/types/logging.d.ts +1 -1
- package/types/sdk.d.ts +33 -23
- package/types/semconv.d.ts +30 -0
- package/types/session.d.ts +147 -0
package/README.md
CHANGED
|
@@ -15,5 +15,3 @@ Some direct links:
|
|
|
15
15
|
EDOT Browser is very similar to the `@opentelemetry/auto-instrumentations-web` package from OpenTelemetry in its usage goal: a single-dependency that provides a simple path to zero-code instrumentation of web applications. In general, Elastic's goal is to contribute all SDK improvements upstream. That said, there are sometimes differences that are specific to Elastic (e.g. Elastic-authored additional instrumentations or specific configurations). Here is a concise list of differences:
|
|
16
16
|
|
|
17
17
|
- EDOT Browser, being a [distribution](https://opentelemetry.io/docs/concepts/distributions/) of the OpenTelemetry JS SDK, always adds the [`telemetry.distro.*`](https://opentelemetry.io/docs/specs/semconv/attributes-registry/telemetry/) resource attributes to identify itself.
|
|
18
|
-
|
|
19
|
-
- EDOT Browser defaults to [`OTEL_SEMCONV_STABILITY_OPT_IN=http`](https://opentelemetry.io/docs/specs/semconv/non-normative/http-migration/) such that telemetry from the `@opentelemetry/instrumentation-fetch` and `@opentelemetry/instrumentation-xml-http-request` package will use stable HTTP semantic conventions by default. Upstream OpenTelemetry JS has [a tracking issue for the migration to newer HTTP semantic conventions](https://github.com/open-telemetry/opentelemetry-js/issues/5646) in its instrumentations.
|