mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-11-29 10:41:00 +00:00
README - Add a note regarding unit conversions for timers
Signed-off-by: Amit Saha <amitsaha.in@gmail.com>
This commit is contained in:
parent
8fa4613e74
commit
8479e3d7a3
1 changed files with 4 additions and 0 deletions
|
@ -235,6 +235,10 @@ 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.
|
||||||
|
|
||||||
|
It should be noted that whereas timers in statsd expects the unit of timing data to be in milliseconds,
|
||||||
|
prometheus expects the unit to be seconds. Hence, the exporter converts all timers to seconds
|
||||||
|
before exporting them.
|
||||||
|
|
||||||
### DogStatsD Client Behavior
|
### DogStatsD Client Behavior
|
||||||
|
|
||||||
#### `timed()` decorator
|
#### `timed()` decorator
|
||||||
|
|
Loading…
Reference in a new issue