Skip to content
All concepts

Concept

Downsampling

Downsampling replaces many raw data points with one summary per longer interval, such as one value every five minutes or every hour. Queries over long ranges then read far fewer points and return quickly. A good summary keeps the count, sum, minimum and maximum of each interval, because an average alone hides the spikes.

  1. Raw: a point every 15 s
  2. After 40 h: every 5 min (succeeds)
  3. After 10 d: every hour (succeeds)
  4. A year reads in seconds (succeeds)
The intervals shown are the ones the Thanos compactor uses. Detail is traded for speed as data ages.

Where you'll see it

Nothing on the site names this term yet.

Sources: Thanos: compactor (downsampling) ↗ · Report a problem

The definition is in our own words.