From b0a54e1d659ce24fa2924d9411851f51c88389fb Mon Sep 17 00:00:00 2001 From: Raghu Udiyar Date: Thu, 1 Aug 2019 15:52:46 +0530 Subject: [PATCH] Add note about DogStatsD `use_ms` option DogStatsD by default emits timer metric in seconds, while the exporter assumes milliseconds; which is the default for statsd. The `use_ms` option fixes this, and will be useful for dogstatsd users to know. Signed-off-by: Raghu Udiyar --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d046b23..1110b5d 100644 --- a/README.md +++ b/README.md @@ -235,6 +235,8 @@ mappings: Note that timers will be accepted with the `ms`, `h`, and `d` statsd types. The first two are timers and histograms and the `d` type is for DataDog's "distribution" type. The distribution type is treated identically to timers and histograms. +The DogStatsD client by default emits timer metrics in seconds, set [use_ms](https://github.com/DataDog/datadogpy/blob/master/datadog/dogstatsd/base.py#L63) to `True` to fix this. + ### Regular expression matching Another capability when using YAML configuration is the ability to define matches