diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 1924d02..e535b37 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -174,7 +174,7 @@ services: deploy: resources: limits: - memory: 250M + memory: 400M restart: unless-stopped networks: - catchtable-net diff --git a/monitoring/otel-collector-config.yml b/monitoring/otel-collector-config.yml index 5538a54..ba3d44f 100644 --- a/monitoring/otel-collector-config.yml +++ b/monitoring/otel-collector-config.yml @@ -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