Skip to content

Conversation

lzchen
Copy link
Member

@lzchen lzchen commented May 29, 2024

Live metrics calls are generating spans when combined with azure.core.opentelemetry.tracing.

image

The swaggers are generated incorrectly with distributed-tracing decorators, will work with Benke to get this fixed. In the meantime, we will be commenting this out in the generated code. This was generating the Inproc span.

The other span of type WCFService is created automatically using the DistrbutedTracingPolicy created automatically by default when using the QuickPulseClient. We are now passing in our own list of policies that we care about, and explicitly omitting the DT policy so calls using the client won't be traced.

@github-actions github-actions bot added the Monitor - Exporter Monitor OpenTelemetry Exporter label May 29, 2024
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@lzchen lzchen merged commit 64b9434 into Azure:main May 30, 2024
@lzchen lzchen deleted the live branch May 30, 2024 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Monitor - Exporter Monitor OpenTelemetry Exporter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants