statsd - Graphite summarize returning inconsistent data -
i've set two-node graphite cluster connected using carbon-relay
:
i sent 500 counters metric cluster-test-500
on ~1min period, @ approximately 60/10 seconds.
based on aggregation rules:
meta data: aggregation method: sum max retention: 31536000 xfilesfactor: 0 archive 0 info: offset: 52 seconds per point: 10 points: 2160 retention: 21600 size: 25920 archive 1 info: offset: 25972 seconds per point: 60 points: 10080 retention: 604800 size: 120960 archive 2 info: offset: 146932 seconds per point: 600 points: 52560 retention: 31536000 size: 630720
the data appeared in both nodes' whisper dbs:
data: 12 63 61 62 63 60 61 57 0 data: 261 239 0 data: 500 0
then, when queried graphite using summarize
function, on past day:
http://graphite.mysite.com/render?target=summarize(stats.counters.cluster-test-500.*.*.*.count,"1day","sum","false")&format=json&tz=utc&from=18:00_20130923&until=18:00_20130924
it returns inconsistent results re-running same query:
[{"target": "summarize(stats.counters.cluster-test-500.count, \"1day\", \"sum\", true)", "datapoints": [[302.0, 1379959260]]}] [{"target": "summarize(stats.counters.cluster-test-500.count, \"1day\", \"sum\", true)", "datapoints": [[500.0, 1379959260]]}] [{"target": "summarize(stats.counters.cluster-test-500.count, \"1day\", \"sum\", true)", "datapoints": [[261.0, 1379959260]]}] [{"target": "summarize(stats.counters.cluster-test-500.count, \"1day\", \"sum\", true)", "datapoints": [[63.0, 1379959260]]}]
which appears result seemingly random summations of time segments in whisperdb file. on earth causing this?
Comments
Post a Comment