- install datadog agent https://docs.datadoghq.com/agent/
- install datadog go library:
go get github.com/DataDog/datadog-go/statsd
- set datadog environment variables
DD_AGENT_HOST=127.0.0.1 DD_DOGSTATSD_PORT=8125
Datadog is a metrics monitor.
go get github.com/DataDog/datadog-go/statsd
DD_AGENT_HOST=127.0.0.1
DD_DOGSTATSD_PORT=8125