Skip to content

Conversation

@trentm
Copy link
Member

@trentm trentm commented Jun 10, 2024

This also updates a few places for the new otel/api v1.9.0.

Refs: #4071 (the dependabot update doesn't get everything)
Refs: #4070
Refs: #4069
Refs: #4077 (a separate issue for this other new feature in otel/api@1.9.0)
Refs: elastic/apm#870


@opentelemetry/api@1.9.0 added support for span.addLink() and span.addLinks().
This updates our OTel bridge tracing support to work with those APIs.

This also adds public addLink() and addLinks() equivalent methods on our Transaction and Span APIs.
Note that the span links support still has limitations: only trace_id and span_id are sent/stored (no span link attributes, no 'tracestate' in the span context).

I created a separate issue for the other feature added to otel/api@1.9.0.

…he APM agent API

This also updates a few places for the new otel/api v1.9.0.

Refs: #4071 (the dependabot update doesn't get everything)
Refs: #4070
Refs: #4069
Refs: #4077 (a separate issue for this other new feature in otel/api@1.9.0)
@trentm trentm requested a review from david-luna June 10, 2024 22:28
@trentm trentm self-assigned this Jun 10, 2024
david-luna
david-luna previously approved these changes Jun 12, 2024
Copy link
Member

@david-luna david-luna left a comment

Choose a reason for hiding this comment

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

Thanks for this PR. I went too quick bumping the OTEL API package :)

All looks good, just couple of comments about types

@trentm trentm merged commit c884fc9 into main Jun 13, 2024
@trentm trentm deleted the trentm/otel-api-update branch June 13, 2024 15:00
trentm added a commit that referenced this pull request Jun 13, 2024
…he APM agent API (#4078)

This also updates a few places for the new otel/api v1.9.0.

Refs: #4071 (the dependabot update doesn't get everything)
Refs: #4070
Refs: #4069
Refs: #4077 (a separate issue for this other new feature in otel/api@1.9.0)
PeterEinberger pushed a commit to fpm-git/apm-agent-nodejs that referenced this pull request Aug 20, 2024
…he APM agent API (elastic#4078)

This also updates a few places for the new otel/api v1.9.0.

Refs: elastic#4071 (the dependabot update doesn't get everything)
Refs: elastic#4070
Refs: elastic#4069
Refs: elastic#4077 (a separate issue for this other new feature in otel/api@1.9.0)
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