Simplify CQ handling by storing data as derivatives

This requires less complexity than integral handling as it can now be handled similarly as gauge metrics
This commit is contained in:
emanuele-f 2019-02-07 12:11:44 +01:00
parent b82aea611e
commit d28bd1e4e9
3 changed files with 26 additions and 36 deletions

View file

@ -9,7 +9,7 @@ local ts_common = {}
ts_common.metrics = {}
ts_common.metrics.counter = "counter"
ts_common.metrics.gauge = "gauge"
ts_common.metrics.integral = "integral"
ts_common.metrics.derivative = "derivative"
-- ##############################################