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

feat: add datadog meta headers #60

Merged
merged 3 commits into from
Aug 26, 2023
Merged

Conversation

DReigada
Copy link
Contributor

@DReigada DReigada commented Aug 3, 2023

Adds Datadog-Meta-* headers to the request that pushes the traces to the agent.

It seems that some specific tags are redacted by Datadog's backend and don't show in their UI if these headers are not set.
Two examples of these tags are: http.client_ip and network.client.ip.

We encountered this problem and contacted Datadog's support. This was there message with the solution:

Currently, all traces submitted with a client IP or similar value, have that client IP redacted on our back end automatically. To avoid this, you will need to set the Datadog-Meta-Lang and Datadog-Meta-Tracer-Version headers in the payload when making the requests to the Agent API. This should then let you keep the values anyway, and avoid them being redacted.

@GregMefford
Copy link
Member

Thanks for figuring this out! 🚀

@GregMefford GregMefford merged commit 13d2031 into spandex-project:master Aug 26, 2023
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

Successfully merging this pull request may close these issues.

2 participants