Skip to content

Conversation

@trentm
Copy link
Member

@trentm trentm commented May 5, 2025

No description provided.

@trentm trentm self-assigned this May 5, 2025
- EDOT Node.js, 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.
- EDOT Node.js [enables some metrics by default](https://github.com/elastic/elastic-otel-node/blob/main/packages/opentelemetry-node/docs/metrics.md) that are not included by `@opentelemetry/auto-instrumentations-node`: a subset of metrics from `@opentelemetry/host-metrics`.
- EDOT Node.js 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-http` package will use stable HTTP semantic conventions by default. Upstream OpenTelemetry JS currently has a [PR](https://github.com/open-telemetry/opentelemetry-js/pull/5552) that will change to the same behavior soon.
- EDOT Node.js [enables some metrics by default](https://github.com/elastic/elastic-otel-node/blob/main/packages/opentelemetry-node/docs/metrics.md) that are not included by `@opentelemetry/auto-instrumentations-node`: a subset of metrics from `@opentelemetry/host-metrics` and the metrics from `@opentelemetry/instrumentation-runtime-node`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://www.npmjs.com/package/@opentelemetry/auto-instrumentations-node already includes @opentelemetry/instrumentation-runtime-node so I think we should drop it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct. I forgot that I made that change about runtime-node in the opentelemetry.git repo docs here: elastic/opentelemetry#213

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hrm, also #755. I think I just made my change and mismerged the change from "main" that had removed mention of runtime-node.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commit b953390

@trentm trentm requested a review from david-luna May 6, 2025 14:39
@trentm trentm merged commit c8a142b into main May 10, 2025
9 checks passed
@trentm trentm deleted the trentm-doc-http-semconv-upstream-tracking branch May 10, 2025 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants