dbader / node-datadog-metrics

Buffered metrics reporting via the DataDog HTTP API
https://dbader.org/blog/monitoring-your-nodejs-app-with-datadog
MIT License
142 stars 58 forks source link

Add tests for actual metrics submission to Datadog #89

Open Mr0grog opened 2 years ago

Mr0grog commented 2 years ago

We should have some tests that actually send a metric to Datadog, and then verify the submission by querying Datadog for the resulting timeseries points.

This test should probably be off by default (but on in continuous integration) since it requires an actual DataDog API key and app key, which probably shouldn’t be publicly available to all contributors.