forked from mirrors/statsd_exporter
Merge pull request #262 from amitsaha/master
README - Add a note regarding unit conversions for timers
This commit is contained in:
commit
a1f8bae0a3
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