Changes

Storing metric data

1,568 bytes added, 21:16, 15 June 2017
m
no edit summary
== 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. == Data retention ==Data is stored in Veloopti in different levels of granularity.{| class="wikitable" style="text-align: left; color: black;"!colspan="6"|Data retention|-|'''Granularity'''|'''Live'''|'''Retention'''|'''[[Glossary_of_Acronyms#REDIRECT R|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  === 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  === One second granularity ===When multiple data points are received for a single second they are automatically rolled up.   [[Category:Data granularity]]