Skip to content

Commit 2cb5c56

Browse files
feat(infra): set 90-day retention for monitoring services (#3402)
### Description Loki, Tempo, Prometheus의 데이터 보관 기간(retention)을 90일로 설정합니다. **변경 사항:** | 서비스 | 이전 | 이후 | |--------|------|------| | Loki | 무제한 | 2160h (90일) | | Tempo | 24h | 2160h (90일) | | Prometheus | 10d | 90d | **예상 스토리지 사용량 (Stage 기준):** - Loki: ~10.5 GB - Tempo: ~110 MB - Prometheus: ~3 GB ### Additional context closes TAS-2542 현재 PVC 용량(50-100Gi)으로 충분히 수용 가능합니다. --- ### Before submitting the PR, please make sure you do the following - [x] Read the [Contributing Guidelines](https://github.com/skkuding/next/blob/main/CONTRIBUTING.md) - [x] Read the [Contributing Guidelines](https://github.com/skkuding/next/blob/main/CONTRIBUTING.md#pr-and-branch) and follow the [Commit Convention](https://github.com/skkuding/next/blob/main/CONTRIBUTING.md#commit-convention) - [x] Provide a description in this PR that addresses **what** the PR is solving, or reference the issue that it solves (e.g. `fixes #123`). - [ ] Ideally, include relevant tests that fail without this PR but pass with it. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1ea5eb3 commit 2cb5c56

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

infra/k8s/monitoring/loki/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ loki:
66
auth_enabled: false
77
commonConfig:
88
replication_factor: 1
9+
limits_config:
10+
retention_period: 2160h # 90 days
11+
compactor:
12+
retention_enabled: true
913
ring:
1014
kvstore:
1115
store: inmemory

infra/k8s/monitoring/prometheus/values-production.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ grafana:
22
enabled: false
33

44
prometheus:
5+
prometheusSpec:
6+
retention: 90d
57
ingress:
68
enabled: true
79
hosts:

infra/k8s/monitoring/prometheus/values-stage.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ grafana:
22
enabled: false
33

44
prometheus:
5+
prometheusSpec:
6+
retention: 90d
57
ingress:
68
enabled: true
79
hosts:

infra/k8s/monitoring/tempo/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ traces:
55

66
tempo:
77
structuredConfig:
8+
compactor:
9+
compaction:
10+
block_retention: 2160h # 90 days
811
ingester:
912
lifecycler:
1013
ring:

0 commit comments

Comments
 (0)