dbader/node-datadog-metrics

Auto Flush with flushIntervalSeconds not working

ZehuaZhang opened this issue · 2 comments

It seems that instantiating Metric with flushIntervalSeconds via BufferedMetricsLogger() is not working. Auto flush never triggered after specified intervals.

Need to force a flush() everytime a metric is sent.

Package updated to latest.

BufferedMetricsLogger is constructed with invalid config

@ZehuaZhang thanks for reporting the issue (and then closing it when you discovered a misconfiguration)

Can you share how it BufferedMetricsLogger was misconfigured? Was that something that clearer documentation or an error message maybe help others avoid in the future?

Thanks!