Skip to content

Commit

Permalink
Add note about enforcement of no. of links (#39565)
Browse files Browse the repository at this point in the history
  • Loading branch information
gewarren authored Feb 15, 2024
1 parent 61f5754 commit 50b2733
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,7 @@ void DoBatchWork(ActivityContext[] requestContexts)
}
```

Unlike events and Tags that can be added on-demand, links must be added during StartActivity() and
are immutable afterwards.
Unlike events and Tags that can be added on-demand, links must be added during `StartActivity()` and are immutable afterwards.

> [!IMPORTANT]
> According to the [OpenTelemetry specification](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#span-limits), the number of links is capped at 128 by default.
> [!IMPORTANT]
> As per the [OpenTelemetry specification](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#span-limits), the suggested limit for the number of links is 128. However, it's important to note that this limit is not enforced.

0 comments on commit 50b2733

Please sign in to comment.