information about downsampling.

pull/228/head
Jason Kulatunga 3 years ago
parent 88a99a1c90
commit 9ebf252d4f

@ -131,16 +131,3 @@ Finally, you can copy the files from the scrutiny container to your host using t
docker cp scrutiny:/tmp/collector.log collector.log docker cp scrutiny:/tmp/collector.log collector.log
docker cp scrutiny:/tmp/web.log web.log docker cp scrutiny:/tmp/web.log web.log
``` ```
# InfluxDB - Downsampling
Scrutiny will automatically configure downsampling scripts for ensuring the database size will not grow unbounded.
| Bucket Name | Description | Retention Period | Downsampling Frequency | Max Number of Datapoints (per Disk) |
| --- | --- | --- | --- | --- |
| `scrutiny` | Main bucket, where all data is written | 15 days | `0 1 * * 0` | **7**+7+1 |
| `scrutiny_weekly` | Weekly data, downsampled from `scrutiny` | 9 weeks | `30 1 1 * *` | **4**+4+1 |
| `scrutiny_monthly` | Monthly data, downsampled from `_weekly` | 25 months | `0 2 1 1 *` | **12**+12+1 |
| `scrutiny_yearly` | Yearly data, downsampled from `_monthly` | forever | `never` | ∞ |

@ -17,7 +17,7 @@ ensuring historical data is present for comparisons.
| Bucket Name | Retention Period | Downsampling Range | Downsampling Aggregation Window | Downsampling Cron | Comments | | Bucket Name | Retention Period | Downsampling Range | Downsampling Aggregation Window | Downsampling Cron | Comments |
| --- | --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- | --- |
| `metrics` | 15 days | `-2w -1w` | `1w` | weekly on Sunday at 1:00am | | `metrics` | 15 days | `-2w -1w` | `1w` | main bucket, weekly on Sunday at 1:00am |
| `metrics_weekly` | 9 weeks | `-2mo -1mo` | `1mo` | monthly on first day of the month at 1:30am | `metrics_weekly` | 9 weeks | `-2mo -1mo` | `1mo` | monthly on first day of the month at 1:30am
| `metrics_monthly` | 25 months | `-2y -1y` | `1y` | yearly on the first day of the year at 2:00am | `metrics_monthly` | 25 months | `-2y -1y` | `1y` | yearly on the first day of the year at 2:00am
| `metrics_yearly` | forever | - | - | - | | | `metrics_yearly` | forever | - | - | - | |
@ -39,4 +39,5 @@ After 5 years, here's how may data points should exist in each bucket for one di
| `metrics` | - | - | | `metrics` | - | - |
| `metrics_weekly` | - | | `metrics_weekly` | - |
| `metrics_monthly` | - | | `metrics_monthly` | - |
| `metrics_yearly` | - | | `metrics_yearly` | - |

Loading…
Cancel
Save