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

Can we trace the http body in APM? #5998

Open
minhphan-khc opened this issue Sep 6, 2024 · 1 comment
Open

Can we trace the http body in APM? #5998

minhphan-khc opened this issue Sep 6, 2024 · 1 comment

Comments

@minhphan-khc
Copy link

minhphan-khc commented Sep 6, 2024

We are using dotnet datadog integration. I want to http request / response headers and body payload text.
And I cannot found it in the APM Traces.
How can I do it? Or is there any third party

@bouwkast
Copy link
Contributor

Hi @minhphan-khc,

We do have DD_TRACE_HEADER_TAGS which allows for a comma-separated list of header names that will be transformed into span tags.
https://github.com/DataDog/dd-trace-dotnet/blob/master/tracer/src/Datadog.Trace/Configuration/ConfigurationKeys.cs#L122

Example: DD_TRACE_HEADER_TAGS="header-a,header-b"

We do not have support for adding HTTP body payload to the span.

Could you please contact Datadog Support at https://www.datadoghq.com/support/ or [email protected] for a feature request on tracing the HTTP body payload so that we can collect additional information and properly prioritize it?

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

2 participants