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

Datadog API Reporter fails to authenticate #1349

Open
thereisnospoon opened this issue Jun 25, 2024 · 0 comments
Open

Datadog API Reporter fails to authenticate #1349

thereisnospoon opened this issue Jun 25, 2024 · 0 comments

Comments

@thereisnospoon
Copy link

I'm getting 403 response from Datadog API when trying to use API reporter as described in https://kamon.io/docs/latest/reporters/datadog/#api-reporter
I've checked the reporter code and it looks the way api-key is being passed is probably outdated: https://github.com/kamon-io/Kamon/blob/master/reporters/kamon-datadog/src/main/scala/kamon/datadog/package.scala#L69
The current implementation passes the api-key as an api_key query parameter, while according to the Datadog docs the api-key should be passed using DD-API-KEY header.

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