Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Allow disabling Azure SDK tracing spans on a per-request basis #31113

Open
maorleger opened this issue Sep 13, 2024 · 0 comments
Open
Assignees
Milestone

Comments

@maorleger
Copy link
Member

In order to provide more granular control over Azure SDK traces and to align with other languages we should provide an option to disable tracing per request.

The scenario here is:

  • A customer has enabled OTel tracing via our plugin (opted-in to tracing globally)
  • A customer wants to suppress a single operation's Azure SDK traces from being created

This may be due to duplicate spans (with an HTTP instrumentation or other plugin provided) or just to reduce noise.

Proposed API:

export interface OperationTracingOptions {
    tracingContext?: TracingContext;
    suppressTracing?: bool; // new
}

Name and type TBD, but the goal is to provide a knob to disable tracing for a given request

@maorleger maorleger added this to the Backlog milestone Sep 13, 2024
@maorleger maorleger self-assigned this Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant