Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
The current datadog API that we're using to submit metrics is deprecated.
https://docs.datadoghq.com/api/latest/metrics/#submit-metrics
Changes that I found so far:
- the host is part of the resources field
- metric types are now mapped to numbers (0-3)
- values must be doubles
We can optionally look into leveraging the datadog java client; shouldn't be difficult but from a quick experiment I couldn't figure out how to replicate the proxy host/port functionality.
https://github.com/DataDog/datadog-api-client-java