[Test] 실제 장애 주입으로 관측성 파이프라인 검증 - #339
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
문제
DocGrid의 Backend·Queue·Embedding Provider 메트릭과 Prometheus·Alertmanager 설정은 계층별 검증이 있었지만, 실제 DB 상태와 Provider 프로세스에서 시작한 신호가 전체 경로를 통과하는지 반복 가능한 방식으로 검증하지 못했습니다.
/actuator/prometheus반복 호출이 운영 Snapshot SQL을 추가로 실행하지 않는지도 실제 HTTP와 PostgreSQL 통계로 확인할 근거가 필요했습니다.변경
pg_stat_statements, Redis, 실제 BGE-M3, Prometheus, Alertmanager, 로컬 webhook receiver를 매 시나리오마다 격리 실행하는 Drill Harness를 추가했습니다.scrape-load,queue-recovery,provider-outage를 개별 또는 연속 실행할 수 있게 했습니다.docs/design/,docs/test-results/에 기록했습니다.실측 결과
/actuator/prometheus300회, 동시성 20: p50 8.404ms, p95 41.746ms, max 80.882msINDEXED8.598초, Embedding 1건 저장up=015.527초, firing webhook 99.358초suppressed, firing webhook 전달 0건Alertmanager
group_interval만 resolved 실험 시간을 제한하기 위해 운영 5분 대신 30초를 사용했습니다. 따라서 firing 수치는 운영 경로를 반영하고 resolved 수치는 테스트 설정 결과입니다. Provider root-cause는 실제 BGE-M3 중단으로 만들었으며, 종속 warning 하나만 inhibition을 독립적으로 확인하기 위해 API로 주입했습니다.검증
./monitoring/drills/run.sh all --output-dir /private/tmp/docgrid-drill-final./monitoring/verify.sh --e2e./backend/gradlew -p backend test --no-daemon --rerun-tasksCloses #338