Skip to content

Commit

Permalink
otel: encourage allowing span links to be added after span creation (#…
Browse files Browse the repository at this point in the history
…870)

The OTel spec has changed to allow span links to be added
after span creation. Our APM agent spec should allow following
suit.
  • Loading branch information
trentm authored Jun 12, 2024
1 parent 9a8390a commit c549f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/agents/span-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ If provided, the API and semantics SHOULD be compatible with the
[OpenTelemetry specification on specifying span links](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links). A compatible API will facilitate
[OpenTelemetry bridge](trace-api-otel.md) support. OpenTelemetry requirements:

- The public API MUST NOT allow adding span links *after* span creation.
- The public API SHOULD allow adding span links *after* span creation.
- Links SHOULD preserve the order in which they are set.

0 comments on commit c549f4d

Please sign in to comment.