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

disable tracestate and traceparent headers from http request #4452

Open
sibelius opened this issue Feb 7, 2025 · 5 comments
Open

disable tracestate and traceparent headers from http request #4452

sibelius opened this issue Feb 7, 2025 · 5 comments

Comments

@sibelius
Copy link
Contributor

sibelius commented Feb 7, 2025

Is your feature request related to a problem? Please describe.
Similar to this one https://discuss.elastic.co/t/how-to-disable-tracestate-and-traceparent-headers/324164

Describe the solution you'd like
Be able to disable tracestate and traceparent headers on HTTP outgoing requests

Describe alternatives you've considered
disabling apm

Additional context
this is breaking our HTTP outgoing requests

@sibelius
Copy link
Contributor Author

sibelius commented Feb 7, 2025

can I disable tracestate and traceparent for some domains and keep the others?

@david-luna
Copy link
Member

Hi @sibelius

I would like to have more context on this issue. In which way having extra headers on your request breaks the request to the external service?

@sibelius
Copy link
Contributor Author

it is similar to this one https://discuss.elastic.co/t/how-to-disable-tracestate-and-traceparent-headers/324164

bank APIs are very strict, if you add another header that is not expected the request is broken

@sibelius
Copy link
Contributor Author

I'd like to disable these headers for some requests, hostname, but not for all

@sibelius
Copy link
Contributor Author

what is the best way to add these options?

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

2 participants