node-datadog-metrics icon indicating copy to clipboard operation
node-datadog-metrics copied to clipboard

Add median for histogram metrics

Open Mr0grog opened this issue 2 years ago • 2 comments

When using DogStatsD, the histogram type calculates a <metric_name>.median metric that this package does not. It would be great to add that here.

(Context: I’m experimenting with transitioning an app from DogStatsD to this for an environment where the other system/host metrics DogStatsD collects aren’t needed, so we can reduce configuration overhead and cost.)

I’d be happy to submit a PR to add this, if helpful.

Mr0grog avatar Sep 14 '22 20:09 Mr0grog

Sounds good, feel free to make a PR!

ErikBoesen avatar Sep 15 '22 21:09 ErikBoesen

Done! #69.

Mr0grog avatar Sep 15 '22 22:09 Mr0grog