forked from mirrors/statsd_exporter
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 <raghusiddarth@gmail.com>
This commit is contained in:
parent
d308796e97
commit
b0a54e1d65
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
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
|
### Regular expression matching
|
||||||
|
|
||||||
Another capability when using YAML configuration is the ability to define matches
|
Another capability when using YAML configuration is the ability to define matches
|
||||||
|
|
Loading…
Reference in a new issue