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

Buffered metrics reporting via the DataDog HTTP API

Results 21 node-datadog-metrics issues
Sort by recently updated
recently updated
newest added

Any interest in adding custom events/logging capabilities?

enhancement

https://github.com/dbader/node-datadog-metrics/blob/10d3b29d1fa527807e1301857caac400c54127b6/lib/metrics.js#L133-L136 If ddog is down this will hog a lot of memory.

enhancement

This adds support for DataDog’s `distribution` metric type, which is sort of like a histogram except is sends every point to DataDog and does the statistics in their system, rather...

Not all JavaScript environments have an `.unref()` function on timers. This guards the one usage of `.unref()` so as not to cause exceptions in environments that do not have it....

When using DogStatsD, the histogram type calculates a `.median` metric that this package does not. It would be great to add that here. (Context: I’m experimenting with transitioning an app...

This adds a `.median` output for histograms, to go along with the existing `.max`, `.avg`, etc. The matches the DataDog StatsD agent, which outputs a similar median metric when send...

I think it would be super helpful to publicly export the [`NullReporter` class](https://github.com/dbader/node-datadog-metrics/blob/023acfa3a2c5d8dd3f5bbb48c8c02467b2519559/lib/reporters.js#L7-L20) (or just the whole `reporters` module) so consumers can use it. In particular, it’s nice for: -...

One thing I’ve noticed while using this in production is that retry functionality is not built in (I did some digging in the `@datadog/datadog-api-client` source just to make sure). Datadog’s...

enhancement

Promises and the `async`/`await` keywords are supported in all versions of Node.js this package is compatible with, and it would probably be good to use them instead of callbacks (e.g....

enhancement
code quality
breaking change

This is a follow-on from #79 — we should probably have some scripting around releases to make sure version bumps, release notes, GitHub releases and NPM publishing all go together...

code quality