# ONES Time Scale Metric Calculation

### Overview

ONES Agent pushes all the telemetry at every 20 seconds to the ONES Collector, so DB will have the values of every 20sec, Further as per time series selection ONES-UI plots the Graph with different average values.

#### Below are the Average values Calculated by ONES-UI as per Time-Scale:

| Time Series | Average between 2 data points | Data Points | Reference                                                                                                                                                                                                                                   |
| ----------- | ----------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1Hour       | 30sec                         | 120         | ![](https://lh7-us.googleusercontent.com/docsz/AD_4nXdCYTbH78Cyt8D1DOGo9N-gqslHIC0bjuLLtIe3d6LGU7nGP2Hl1WXbYOaW5iycipkuEZpAXfPM62XSqUouktyyiU9k52FyEUqIY5dSTarS07svo2amuPmze9P_Lw3iZQs9phthU2tU4HF4Q3iPuxc6tNcU?key=v44o-dljmmqR51Ldbz4dKQ) |
| 2Hours      | 40sec                         | 180         | ![](https://lh7-us.googleusercontent.com/docsz/AD_4nXfAaG0eDQufSmPX38R826VEgQxlEfygnoCV9qejgp87GlPVNaVsUo_7e3KKqpYpFA-OljovH_yS6lS2bEhekaiSrg8lQNPYxlQNVWAYGBtY_Es28hXa-aBMl98CI50xZvc6NiS3YfEpKO3C9PFY0MprT58N?key=v44o-dljmmqR51Ldbz4dKQ) |
| 4Hours      | 1Minute 20sec                 | 180         | ![](https://lh7-us.googleusercontent.com/docsz/AD_4nXe_68BOyUGVKgOenJShgMRTNZ35EtVCkuI5LPVU8yNzd4PYweSTsxCUcdCnOiqmYm-nVMAUXkONe_bMTuKJhzEmxZo6N63VKRO93TA62TTk3IZglgLJ_nQ9mgUPV52OTF3aJAm3pTEFVdln5QK5UfsAWs0?key=v44o-dljmmqR51Ldbz4dKQ)  |
| 12Hours     | 5Minutes                      | 144         | ![](https://lh7-us.googleusercontent.com/docsz/AD_4nXclBh2cxsp7SisyUQ-1SJLCnHDvq7EfKOfVlcQGEebuCnsah92cOoecvNsz77gQDpwV8k8Uz2YxJbOYf4CewtjTrlPK6GL3X4ItwnPmz86ksCrPoC3x9kU_JhUmzNVaMuz0Yg2vZDOYetXC3dBy2oiNIHn9?key=v44o-dljmmqR51Ldbz4dKQ) |
| 1Day        | 10Minutes                     | 144         | ![](https://lh7-us.googleusercontent.com/docsz/AD_4nXf5hs-YceSvcAXjscdLZiLqwrIvRT4Z9OH-MCm-C8P0A1i8fAecQd-d5nnNISDw5iovaFwBi5WLHxmwOnPRN7iZ9re2vAs82e3d2MxuMeqbvsXnIWS5BEUh_waSdnxro4ZPRsaWdbH3352CH9s7vAqm_08W?key=v44o-dljmmqR51Ldbz4dKQ) |
| 1Week       | 1Hour 10Minutes               | 144         | ![](https://lh7-us.googleusercontent.com/docsz/AD_4nXcKXjhNxfjVlzYvm-3Nw6FNQcDeMBDry9xMWdCOPi4ShNsOakgw_TnjF30_5581sfNiO4cozq9R-40dxdMFIt91c34-m8bbDdBrXb1-RgTUK6tXzZmz0z33gusCCp0XxWreCg8XgEK9FzILLiEq4AOtonDw?key=v44o-dljmmqR51Ldbz4dKQ) |
| 2Weeks      | 2Hours 20Minutes              | 144         | ![](https://lh7-us.googleusercontent.com/docsz/AD_4nXcYSPl_R_tK-TDJ3t4-rNyPiLFE9_49xkwhA6SVitqGB7hapiNMkuH-QmyXC3w4yG_CnBmH1o4qBpB34KLxYcdelr0AXTT1d-gZEHr8UWi6qhiUw_6vealJASodfmp5z_FiOLM8aEhBUkswYNUYiQsBnFew?key=v44o-dljmmqR51Ldbz4dKQ) |

\\
