← Back to team overview

graphite-dev team mailing list archive

Re: [Question #168332]: Logs not matching graphs

 

Question #168332 on Graphite changed:
https://answers.launchpad.net/graphite/+question/168332

cbrinley posted a new comment:
couple things to consider:
do you have aggregation rules setup? From what I am seeing the last value received for a given metric ID will take precedence if no rule is defined (such as average or sum).
so for example if your interval for some metric is 1 minute and you receive 10 values for that metric in a minute only the 10th value is applied barring any aggregation rules like "sum". 

So over time you may have received 40K+ metric values but only some
small fraction of them actually persist on disk because there is no rule
to do anything other than replace the last value. if you are doing event
driven graphs where timing between metric values may vary this is worth
investigating.

secondly
in your url that displays the graph you may want to add another url parameter by hand rawData=true
example: graphite.com?target=foo.bar&rawData=true (data may need to be lower case i don't remember off hand)
this should dump the raw data to screen so that things like graph size are not causing the data points to be averaged together. Based on the size of the difference i don't think this is the case however but may give you some more insight.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.