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

Feature Request: Disable injection of DD tracing headers for some requests #5726

Open
williamscs opened this issue Jun 22, 2024 · 0 comments

Comments

@williamscs
Copy link

Are you requesting automatic instrumentation for a framework or library? Please describe.
This is for all HTTP requests.

Is your feature request related to a problem? Please describe.
We have external APIs that we hit which will block our traffic if the request has unexpected headers. There is an option to disable X headers entirely, but this also breaks downstream tracing for internal calls.

Describe the solution you'd like
We would like to either have a blocklist for that partner, or an allowlist for our internal traffic.

Describe alternatives you've considered
Setting DD_TRACE_X_DATADOG_TAGS_MAX_LENGTH to 0 should disable for all HTTP requests.

#3000 (comment)

Additional context
Similar requests in other tickets:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant