diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d1bac7e..da29a48 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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/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` | ∞ | - - diff --git a/docs/DOWNSAMPLING.md b/docs/DOWNSAMPLING.md index 25a202a..70eeea0 100644 --- a/docs/DOWNSAMPLING.md +++ b/docs/DOWNSAMPLING.md @@ -17,7 +17,7 @@ ensuring historical data is present for comparisons. | 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_monthly` | 25 months | `-2y -1y` | `1y` | yearly on the first day of the year at 2:00am | `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_weekly` | - | | `metrics_monthly` | - | -| `metrics_yearly` | - | +| `metrics_yearly` | - | +