DataDog / datadog-go

go dogstatsd client library for datadog
MIT License
353 stars 132 forks source link

How to authenticate the client? #281

Closed vschoener closed 10 months ago

vschoener commented 1 year ago

Hello,

I'm trying to find in this documentation and there how I can authenticate my client?

I have a use case where I would like to send metrics from a CLI command to our datadogs server.

Could you light me on that?

carlosroman commented 1 year ago

There is no authentication needed when sending data to a DogStatsD server. Your DD API key should be configured on the DogStatsD server (or Datadog Agent) and that handles the authentication with DD.