This article aims at quickly presenting you Datadog’s method to render graphs so that you have a better idea how to choose your graph settings.
You may find more information in the full guide article From the query to the graph.
Here are all parameters for a graph query, as displayed in the JSON tab of the Timeboard graph editor:
Metric: the metric you want to graph
Scope: which data the system should take into account to render your graph. Useful if different hosts are reporting the same metric or/and if the metric is submitted with different tags
Time-aggregation: this parameter is optional, for most of your graphs you won’t need it. By default the system aggregates by average.
Space-aggregation: After time-aggregation has been performed, Datadog combines these different source in a unique timeseries that is displayed as a graph. By default for each time, Datadog averages values across several sources, but it can also take the min/max/sum.
Functions: this parameter is optional, if you have specified functions they would apply. Check the available functions.
You can also use arithmetic on queries.