graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #04808
[Question #247784]: Derive slowly incrementing counters / duplicate metric values
New question #247784 on Graphite:
https://answers.launchpad.net/graphite/+question/247784
Hi,
I've been searching a lot and tried almost every graphite function available, but no help yet.
I am sending metrics via collectd to graphite every minute and not using the "StoreRates" feature of collectd, so the values arrive as correct counter values.
For some metrics I do have very slowly incrementing counters
---snippet from wsp file---
# whisper-dump.py /var/lib/carbon/whisper/mobile/collectd/rz46/dbmaster46-1/mysql/status/counter/slow_queries/value.wsp | head -n 50
Meta data:
aggregation method: sum
max retention: 34560000
xFilesFactor: 0
Archive 0 info:
offset: 52
seconds per point: 60
points: 10080
retention: 604800
size: 120960
...
Archive 0 data:
0: 1398553560, 1822
1: 1398553620, 1823
2: 1398553680, 1823
3: 1398553740, 1823
4: 1398553800, 1823
5: 1398553860, 1823
6: 1398553920, 1823
7: 1398553980, 1823
8: 1398554040, 1823
9: 1398554100, 1823
10: 1398554160, 1823
11: 1398554220, 1824
12: 1398554280, 1824
13: 1398554340, 1824
14: 1398554400, 1824
15: 1398554460, 1824
16: 1398554520, 1824
17: 1398554580, 1824
18: 1398554640, 1824
19: 1398554700, 1824
20: 1398554760, 1824
21: 1398554820, 1825
22: 1398554880, 1825
--- end of snippet ---
When displaying the counter this results in some kind of a step function, which breaks the typical "nonNegativeDerivative" approach for getting a rate out of this counter, because the function is not continuous on every re-occuring value and so I only get useless spikes as rates. Is there any way to overcome this problem like "ignore/remove all repeated values and then derive"?
Thanks for your help and sorry if I missed some simple solution.
Cheers
Robert
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.