I apologize in advance this is probably an obvious newbie question, but I’ve spent most of the day trying to get my head around it.
As part of my Python buildscript for a project I report some data like the size of the build, how long it took, whether it succeeded or failed, to graphite. This happens anytime there’s a new commit, so some days there’s nothing submitted and some days it’s every 30 minutes for a few hours.
In either Graphite or Grafana, when I look at the data everything seems normal when viewing in the ‘Last 6 hours’ time range. However, as soon as I switch to even ‘Last 12 hours’ (let alone the 7 or even 14 days I want to show on this dashboard), the data simply disappears. This is even the case for a singlestat using the function keepLastValue.
The query inspector shows that only null values are returned. There’s 60 seconds between each datapoint.
I also tried increasing the maxDataPoints to 99,999, but every one returns null. If I switch back to ‘6 hours’ it does return a value (along with mostly nulls, but that’s fine).
So I’m assuming that the time range results in a form of aggregation - Graphite is only pulling a value for every (x) seconds and my one datapoint (or at least small number of datapoints) are lost in the cracks.
What’s the correct way to set up Graphite for my use case? I just want a line chart showing each build (however far apart they might be) over the last two weeks showing various info. Ideally I want one point per build (and not every point between each build) with a line showing the trend between them.
I hope that’s enough information, thanks so much for any help you can provide!