Contents
1 Overview
Data is initially stored in Veloopti in as granular manner as it is gathered. After a set amount of time the data is rolled up into less and less granularity to be kept on a long term basis.
2 Data retention
Data is stored in Veloopti in different levels of granularity.
Data retention | |||||
---|---|---|---|---|---|
Granularity | Live | Retention | Roll up | ||
One second | True | One day | False | ||
One minute | True | One month | False | ||
Five minutes | True | One year | Every five minutes | ||
Hourly | False | One year | Every hour | ||
Daily | False | One year | Every day |
If more data points are pushed to a data metric greater than Veloopti is permitted to retain then they are rolled up and stored at the most granular allowed
2.1 Rolling up data
When data points are rolled up granularity is reduced, i.e. five one minute data points reduced to a single five minute data point. With the reduction of granularity new information is obtained from all data points over the time period.
- Number of polls The total number of data points received in the time period
- Sum of the samples all data points added up in the time period
- Average The average of all metrics in the time period
- Maximum The maximum metric received in the time period
- Minimum The minimum metric received in the time period
2.2 One second granularity
When multiple data points are received for a single second they are automatically rolled up.