micrometer-metrics/micrometer

Datadog Direct to Datadog API Approach

Open

#3,911 建立於 2023年6月15日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Java (935 fork)batch import
enhancementhelp wantedregistry: datadog

倉庫指標

Star
 (4,220 star)
PR 合併指標
 (平均合併 1天 21小時) (30 天內合併 100 個 PR)

描述

Please describe the feature request. Send metrics to the Datadog API with the same format the datadog agent uses. More specifically sending counts as rate metrics.

Rationale If you've created a metric/custom metric as a count using Datadog's agent/dogstatsd, it will have the type of Rate interval=10 in Datadog by default. Not only does it transmit the values this way, it actually divides the values provided by 10 in the data series -- https://docs.datadoghq.com/api/latest/metrics/#submit-metrics. So when you submit the same metric using the micrometer integration direct to the API the values are multiplied by 10.

It would be great to have a configuration to send metrics using Micrometer with the same format as the Datadog agent sends.

Additional context Very similar to this issue with Telegraph: https://github.com/influxdata/telegraf/issues/10944

We have some applications that send the metrics to the agent using micrometer-registry-statsd and would like to have the same behavior when sending with micrometer-registry-datadog

貢獻者指南