Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ services:
deploy:
resources:
limits:
memory: 250M
memory: 400M

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Jaeger 서비스의 메모리 제한을 400M으로 증설하셨습니다. 하지만 파일 상단(10번 라인) 주석에 명시된 t3.small 인스턴스의 전체 메모리는 2GB(약 2048MB)입니다. 현재 설정된 모든 서비스의 제한(limits) 합계는 약 2,580MB로, 호스트의 물리 메모리 용량을 초과하고 있습니다. 이는 서비스 부하 시 OOM Killer에 의해 프로세스가 강제 종료되는 등 시스템 전체의 불안정성을 초래할 수 있습니다. 특히 이번 PR에서 Kafka 백그라운드 트레이스 필터링을 적용하여 Jaeger로 유입되는 데이터 양이 줄어들 것으로 예상되므로, 메모리 제한을 늘리는 대신 기존의 250M를 유지하거나 다른 서비스의 리소스를 조정하는 방향을 검토해 주시기 바랍니다.

restart: unless-stopped
networks:
- catchtable-net
Expand Down
4 changes: 4 additions & 0 deletions monitoring/otel-collector-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ processors:
error_mode: ignore
traces:
span:
# HTTP 노이즈: 헬스체크, favicon, API 외 404 (봇 스캔 등)
- 'IsMatch(attributes["url.path"], "^/actuator.*")'
- 'IsMatch(attributes["url.path"], "^/favicon.*")'
- 'attributes["http.response.status_code"] == 404 and not IsMatch(attributes["url.path"], "^/(api|swagger-ui|api-docs).*")'
# Kafka 백그라운드 프로토콜 trace 차단 (consumer poll/heartbeat/rebalance/leave 등).
# Producer.send와 @KafkaListener의 실제 메시지 처리 trace는 그대로 보존 — 부하 테스트 분석에 필요.
- 'IsMatch(name, "^(Heartbeat|OffsetCommit|JoinGroup|SyncGroup|LeaveGroup|FindCoordinator|Coordinator Discover|Fetch)$")'

batch:
timeout: 5s
Expand Down
Loading