diff options
author | Nat Lasseter <nat.lasseter@york.ac.uk> | 2020-11-16 12:22:57 +0000 |
---|---|---|
committer | Nat Lasseter <nat.lasseter@york.ac.uk> | 2020-11-16 12:22:57 +0000 |
commit | 622a1770df1baa13c02f155cde3301306c8f8be0 (patch) | |
tree | bfca79552c360f826ecf897fbf3a0eaa5c96d88b /Readme.textile | |
parent | 1f1cd6c0ec327d5e77877a7847a4a70dc69794e9 (diff) |
Add histogram and summary support
Diffstat (limited to 'Readme.textile')
-rw-r--r-- | Readme.textile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Readme.textile b/Readme.textile index 23ba4da..320a094 100644 --- a/Readme.textile +++ b/Readme.textile @@ -65,6 +65,20 @@ Each raider consists of: #* @labels@: A hash containing the metric labels #* @timestamp@: The timestamp when the metric was collected, defaults to the time @report!@ was called. +For gauges and counters, the value is simply the vale of the metric. + +For histograms, the value is a hash containing: + +* @buckets@: A hash mapping the upper bound to the number of observations in the bucket +* @count@: The total number of observations +* @sum@: The sum of all observations + +For summaries, the value is a hash containing: + +* @quantiles@: A hash mapping the quantile to the value +* @count@: The total number of observations +* @sum@: The sum of all observations + h4. Example bc.. class Test |