Most of the time what you see on graphs are not the real value you submitted but local aggregates.
What can you do?
- .rollup(max)/ .rollup(min) will have each point be the local MAXIMUM/MINIMUM of the X min of data it represents
- .rollup(avg) is the default value: each point of your graph be the AVERAGE value of the X min of data it represents
- .rollup(sum) will compute the SUM of all values submitted during the X min period
- .rollup(avg,60) defines that graph points should be 1 min averages, etc.
Please note that our backend tries to keep the number of interval to a number below ~300. So if you do rollup(60) over a 2-month time window, you will not get the one-minute granularity requested.
The graph above is a bar graph over the past 2 hours. On this graph you have one datapoint per minute, i.e. what you see are not the real values submitted but local aggregates, each one representing one minute of your metric data.
Is it possible to see the real data submitted?
Yes, if you zoom in enough you'll get the original values. For instance with the datadog-agent (submitting data every ~15 seconds) if you look at a 45-minute (or less) timewindow you will have unaggregated values.