[Fix] Sentry trace metric 시계열 집계 오류 수정 - #494
Merged
Merged
Conversation
tracemetrics 데이터셋은 인자 없는 count를 거절하므로 metric 필드를 명시해 집계한다. Constraint: Sentry Explore API가 tracemetrics count()를 HTTP 400으로 거절 Rejected: tracemetrics 카드 제거 | 활성 계측 데이터를 관리자에게 보여줘야 함 Confidence: high Scope-risk: narrow Directive: tracemetrics 집계식은 count(metric)을 유지 Tested: SentryClientTest; live Sentry iOS and Android HTTP 200; git diff --check Not-tested: authenticated AdminWeb visual data comparison
4 tasks
Roy-wonji
added a commit
that referenced
this pull request
Sep 14, 2026
## #️⃣ 연관된 이슈 - #494 ## 📝 작업 내용 ### 🐛 Fix | 내용 | PR | |------|-----| | Sentry `tracemetrics` 시계열을 `count(metric)`으로 조회해 400 응답 제거 | #494 | | 일반 데이터셋과 trace metric의 집계식 차이를 회귀 테스트로 고정 | #494 | ## 📌 공유 사항 > 1. 기존 `count()`는 Sentry가 `Invalid number of arguments for count`로 거절해 AdminWeb에 `UNAVAILABLE`로 표시됐습니다. > 2. `count(metric)`은 Picke iOS/Android 프로젝트 모두 실제 Sentry API HTTP 200을 확인했습니다. > 3. PR #494 CI와 개발 Railway `dev@df9acca` 배포가 성공했습니다. ## ✅ 체크리스트 - [x] dev 브랜치에 먼저 반영했습니다. - [x] 개발 Railway 배포를 확인했습니다. - [x] SentryClient 대상 테스트를 통과했습니다. - [x] 실제 Sentry iOS/Android 응답 상태를 확인했습니다. ## 📸 스크린샷 - AdminWeb Sentry 탭의 `커스텀 메트릭 / tracemetrics` 카드가 수정된 Server 응답을 사용합니다. ## 💬 리뷰 요구사항 > `tracemetrics`만 `count(metric)`을 사용하고 나머지 데이터셋은 기존 `count()`를 유지하는 분기를 확인 부탁드립니다.
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.
#️⃣ 연관된 이슈
📝 작업 내용
🐛 Fix
tracemetrics시계열 집계식을count(metric)으로 수정SentryClientTest통과📌 공유 사항
✅ 체크리스트
git diff --check를 통과했습니다.💬 리뷰 요구사항