You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2022/08/16 12:59:00 UTC

[jira] [Created] (FLINK-29001) Migrate datadog reporter to v2 metric submission API

Chesnay Schepler created FLINK-29001:
----------------------------------------

             Summary: Migrate datadog reporter to v2 metric submission API
                 Key: FLINK-29001
                 URL: https://issues.apache.org/jira/browse/FLINK-29001
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Metrics
            Reporter: Chesnay Schepler
             Fix For: 1.17.0


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)