SamplingQuery

A complete example is shown below.

"sampling": {"unit": "seconds", "value": 120}

com.spotify.heroic.aggregation.SamplingQuery

Structure
Field Type Purpose
unit  <string> The unit to use when building the sampling bucket. E.g. `seconds`, `minutes`, `hours`.
value  required <number> | 120 The value/size of the sample.