|
3903 | 3903 | "UpdateMetricsStorageRetentionPayload": {
|
3904 | 3904 | "properties": {
|
3905 | 3905 | "metricsRetentionTime1h": {
|
3906 |
| - "description": "Retention time of longtime storage of 1h sampled data. After that time the data will be deleted permanently.\n`Additional Validators:`\n* Should be a valid time string\n* Should not be bigger than metricsRetentionTime5m", |
| 3906 | + "description": "Retention time of longtime storage of 1h sampled data.\nAfter that time the 1h sampled data will be deleted permanently.\nThe goal of downsampling is to get fast results for queries over long time intervals.\nIt is recommended to set this value to be the same as metricsRetentionTimeRaw to ensure zoom-in\ncapabilities in your dashboards. The default value is 90 days.\n`Additional Validators:`\n* Should be a valid time string (e.g. '90d').\n* Should be between '10d' and '780d'.\n* Note: For compatibility reasons, values between '0d' and '792d' are also accepted. However, these will\nbe automatically adjusted in the backend to the recommended range of '10d' to '780d'.", |
3907 | 3907 | "maxLength": 8,
|
3908 | 3908 | "minLength": 2,
|
3909 | 3909 | "type": "string"
|
3910 | 3910 | },
|
3911 | 3911 | "metricsRetentionTime5m": {
|
3912 |
| - "description": "Retention time of longtime storage of 5m sampled data. After that time the data will be down sampled to 1h.\n`Additional Validators:`\n* Should be a valid time string\n* Should not be bigger than metricsRetentionTimeRaw", |
| 3912 | + "description": "Retention time of longtime storage of 5m sampled data.\nAfter that time the 5m sampled data will be deleted permanently.\nAll 5m resolution metrics older than 10 days are downsampled at a 1h resolution.\nThe goal of downsampling is to get fast results for queries over long time intervals.\nIt is recommended to set this value to be the same as metricsRetentionTimeRaw to ensure zoom-in \ncapabilities in your dashboards. The default value is 90 days.\n`Additional Validators:`\n* Should be a valid time string (e.g. '90d').\n* Should be between '10d' and '780d'.\n* Note: For compatibility reasons, values between '0d' and '792d' are also accepted. However, these will\nbe automatically adjusted in the backend to the recommended range of '10d' to '780d'.", |
3913 | 3913 | "maxLength": 8,
|
3914 | 3914 | "minLength": 2,
|
3915 | 3915 | "type": "string"
|
3916 | 3916 | },
|
3917 | 3917 | "metricsRetentionTimeRaw": {
|
3918 |
| - "description": "Retention time of longtime storage of raw sampled data. After that time the data will be down sampled to 5m.\nKeep in mind, that the initial goal of downsampling is not saving disk or object storage space. In fact, downsampling doesn't save you any space but instead, it adds 2 more blocks for each raw block which are only slightly smaller or relatively similar size to raw block. This is done by internal downsampling implementation which to be mathematically correct holds various aggregations. This means that downsampling can increase the size of your storage a bit (~3x), if you choose to store all resolutions (recommended). The goal of downsampling is to provide an opportunity to get fast results for range queries of big time intervals like months or years.\n`Additional Validators:`\n* Should be a valid time string\n* Should not be bigger than 13 months", |
| 3918 | + "description": "Retention time of longtime storage of raw data.\nAfter that time the raw data will be deleted permanently.\nAll raw resolution metrics that are older than 40 hours are downsampled at a 5m resolution.\nThe default value is 90 days.\n`Additional Validators:`\n* Should be a valid time string (e.g. '90d').\n* Should be between '2d' and '780d'.\n* Note: For compatibility reasons, values between '0d' and '792d' are also accepted. However, these will\nbe automatically adjusted in the backend to the recommended range of '2d' to '780d'.", |
3919 | 3919 | "maxLength": 8,
|
3920 | 3920 | "minLength": 2,
|
3921 | 3921 | "type": "string"
|
|
4396 | 4396 | "jaegerUiUrl": "https://9449de83-64ac-jui.traces.stackit.argus.eu01.cloud/instances/9449de83-64ac-45dc-9967-e7c75bbdca70",
|
4397 | 4397 | "logsPushUrl": "https://logs.stackit.argus.eu01.cloud/instances/9449de83-64ac-45dc-9967-e7c75bbdca70/loki/api/v1/push",
|
4398 | 4398 | "logsUrl": "https://logs.stackit.argus.eu01.cloud/instances/9449de83-64ac-45dc-9967-e7c75bbdca70",
|
4399 |
| - "metricsRetentionTime1h": 0, |
4400 |
| - "metricsRetentionTime5m": 0, |
4401 |
| - "metricsRetentionTimeRaw": 14, |
| 4399 | + "metricsRetentionTime1h": 90, |
| 4400 | + "metricsRetentionTime5m": 90, |
| 4401 | + "metricsRetentionTimeRaw": 90, |
4402 | 4402 | "metricsUrl": "https://storage.api.stackit.argus.eu01.cloud/instances/9449de83-64ac-45dc-9967-e7c75bbdca70",
|
4403 | 4403 | "name": "test",
|
4404 | 4404 | "otlpTracesUrl": "9449de83-64ac-op.traces.stackit.argus.eu01.cloud:443",
|
|
8952 | 8952 | "application/json": {
|
8953 | 8953 | "example": {
|
8954 | 8954 | "message": "Successfully got metric storage retention",
|
8955 |
| - "metricsRetentionTime1h": "0d", |
8956 |
| - "metricsRetentionTime5m": "0d", |
8957 |
| - "metricsRetentionTimeRaw": "14d" |
| 8955 | + "metricsRetentionTime1h": "90d", |
| 8956 | + "metricsRetentionTime5m": "90d", |
| 8957 | + "metricsRetentionTimeRaw": "90d" |
8958 | 8958 | },
|
8959 | 8959 | "schema": {
|
8960 | 8960 | "$ref": "#/components/schemas/GetMetricsStorageRetentionResponse"
|
|
0 commit comments