Repository navigation
chore(monitoring): Prometheus 보관 기간 15d → 90d - #77
Merged
Merged
Conversation
대회 기간의 동시 접속자·요청 지표를 끝난 뒤에도 돌아볼 수 있게 retention을 늘린다. compose에 command를 주면 이미지 기본 CMD가 통째로 대체되므로 --config.file·--storage.tsdb.path를 함께 적는다. VM 적용: docker compose -f docker-compose.prod.yml up -d prometheus (기존 데이터 유지). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
왜
운영 지표(동시 접속자
active_users, 요청 수, 응답 시간)가 Prometheus 기본 보관 15일이 지나면 사라진다. 대회 기간 기록을 끝난 뒤에도 돌아볼 수 있게 90일로 늘린다.무엇
docker-compose.prod.ymlprometheus 서비스에command:추가 —--storage.tsdb.retention.time=90dcommand:는 이미지 기본 CMD를 통째로 대체하므로--config.file·--storage.tsdb.path를 함께 명시docs/INFRA.mdPhase 3에 "10-23 3차" 항목 기록적용 (머지 후 VM에서, 배포 스크립트는 prometheus를 건드리지 않음)
기존
prometheus-data볼륨은 그대로 쓰므로 지금까지 쌓인 데이터는 유지된다.용량
이 규모(수천 시계열, 15s 수집)면 하루 수십 MB. 90일이어도 수 GB 안.
🤖 Generated with Claude Code