dbader/node-datadog-metrics

Flushing the same metric multiple times in the same second overwrites previous values

Open

#53 建立於 2020年6月29日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)JavaScript (60 fork)github user discovery
enhancementhelp wanted

倉庫指標

Star
 (147 star)
PR 合併指標
 (PR 指標待抓取)

描述

If you increment a counter, flush the message, and then before the UTC timestamp has rolled into the next second, increment the same counter with the same tags (and flush again), only one of your two increments will show up in datadog. I think Datadog has some de-duplication / unique indexing that only tracks a unique metric per second. I think this library would need to keep in-memory up to 1 second of messages, to be able to track and send the right stats.

貢獻者指南