Skip to content

Orleans 8.2 and up creates OpenTelemetry traces with thousands of spans #9270

Closed
@Costo

Description

Hi!
We recently updated projects from Orleans 8.0 to 8.2 and we noticed that our Otel traces are mixed up. We have traces with thousands of spans. It seems that persistent pulling agents always reuse the same TraceId/OperationId as you can see in the screenshots below. The only significant change I see between 8.0 and 8.2 in the persistent pulling agent is the new Grain Timers. Could it be related?

I created a reproduction project using the Simple Streaming Sample:
https://github.com/Costo/orleans-otel-issue/tree/main

Thanks!

Screenshot of Aspire Dashboard:
Image

Screenshot of Application Insights in Azure Portal:
Image

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions