Add test coverage for distributed tracing of LROs when nested span suppression is disabled #29215
Labels
Azure.Core
Client
This issue points to a problem in the data-plane of the library.
DPG
MQ
This issue is part of a "milestone of quality" initiative.
OpenTelemetry
OpenTelemetry instrumentation (not Monitor-specific)
Milestone
@pshao25 identified that distributed tracing spans for LROs are incorrect when nested span suppression is disabled. Her investigation is described here: Azure/autorest.csharp#2297
Distributed tracing span scopes for LROs are described in the following two issues:
Test for the LRO distributed tracing spans are currently here: https://github.com/Azure/autorest.csharp/blob/feature/v3/test/AutoRest.TestServerLowLevel.Tests/dpg-customization.cs#L96
Validation of diagnostic scopes should be moved to Azure.Core when the Operation implementation methods move to Azure.Core.
We should add tests validating correct behavior for all cases:
The above four cases should be validated for each of the following conditions:
The text was updated successfully, but these errors were encountered: