Jazz
Jazz

Reputation: 5917

No returned data for a range of more than 6h

I use graphite 0.9.15.

I have metrics with few data (many nulls) over the last 6 hours, I can draw them when querying the last 6 hours, but if I ask for more (like 7 hours), I have no data. I tried to change the consolidation function with consolidateBy to max, but I have still no data. What should I do to plot my data over more than 6 hours?

I configured the storage aggregation with a xFilesFactor of 0 and the aggregationMethod to max, but my data are too young to be aggregated.

Upvotes: 0

Views: 167

Answers (1)

deniszh
deniszh

Reputation: 794

It looks like something is wrong with your storage-schemas.conf. E.g. you have only 6 hours of data there - "retentions = 1m:6h"

Or aggregation scheme also can be wrong - if your lowest retention is 10 seconds, and you sending data e.g. every 60 seconds then you will get one data point, and then five empty points - 80% of data is empty. Default xFilesFactor is 0.5, so it will discard your data if you have more than 50% of empty points.

Usually, your lowest retention should match with your metrics rate - or you need to set up proper aggregation for different metrics by regex.

Upvotes: 1

Related Questions