feat: Sentry 전체 관측 데이터와 가입 추이 개발 반영 - #492
Merged
Merged
Conversation
Sentry의 활성 데이터셋, full 오류 이벤트, 메트릭, 세션, 릴리즈를 프로젝트별로 수집하고 Mixpanel 회원가입 일별 시리즈를 함께 제공한다. Constraint: Sentry full 이벤트 응답은 최대 10건이며 Replay는 Picke-iOS에서 비활성화되어 있다. Rejected: 오류 이슈 요약만 유지 | 앱이 보내는 로그, 성능, 메트릭, 세션 정보를 확인할 수 없다. Confidence: high Scope-risk: moderate Directive: 새 Sentry SDK 데이터 유형을 켤 때 DATASETS와 관리자 계약을 함께 갱신한다. Tested: MixpanelClientTest, SentryClientTest, git diff --check Not-tested: 운영 Sentry 토큰의 org:read 및 event:read 권한은 배포 후 확인한다.
4 tasks done
Roy-wonji
added a commit
that referenced
this pull request
Sep 14, 2026
## #️⃣ 연관된 이슈 - #492 ## 📝 작업 내용 ### ✨ Feat / 📝 Docs | 내용 | PR | |------|-----| | Mixpanel 회원가입 일별 추이와 오늘 활성 사용자·회원가입 수 제공 | #492 | | Sentry 오류·로그·성능 span·프로파일·커스텀 메트릭 시계열 제공 | #492 | | Sentry 전체 오류 이벤트, 세션 안정성, 릴리즈 상세 데이터 제공 | #492 | | 관리자 지표 API 계약 및 필요한 Sentry 권한 문서화 | #492 | ## 📌 공유 사항 > 1. Picke-iOS에서 실제 활성화한 `errors`, `logs`, `spans`, `profile_functions`, `tracemetrics`, 세션, 릴리즈, 전체 오류 이벤트를 조회합니다. > 2. Sentry Replay는 iOS 설정의 세션·오류 샘플 비율이 모두 0이라 이번 범위에서 제외했습니다. > 3. 개발 Railway의 `SENTRY_AUTH_TOKEN`, `MIXPANEL_API_SECRET`을 운영과 같은 값으로 맞췄으며 값은 노출하지 않고 SHA-256 비교로 일치만 확인했습니다. > 4. `SENTRY_ORG`, `SENTRY_PROJECTS`는 양쪽 모두 미설정이며 코드의 동일한 기본값(`picke`, `picke-ios,picke-android`)을 사용합니다. > 5. Server PR #492 CI와 analytics 대상 테스트, AdminWeb PR #59/#60 CI 및 운영 배포가 통과했습니다. ## ✅ 체크리스트 - [x] 개발 브랜치 CI를 통과했습니다. - [x] 개발 Railway 배포에서 같은 커밋을 확인했습니다. - [x] 지표 관련 개발·운영 Railway 키 정합성을 확인했습니다. - [x] API 문서를 함께 갱신했습니다. ## 📸 스크린샷 - AdminWeb `/analytics`에서 Mixpanel·Sentry 탭, 일별 차트, 상세 JSON, 로딩 스켈레톤을 제공합니다. ## 💬 리뷰 요구사항 > Sentry 토큰에 Explore 조회용 `org:read`, 오류 이벤트용 `event:read`, 릴리즈 조회용 `project:read` 권한이 있는지 함께 확인 부탁드립니다. --------- Co-authored-by: 준혁 <127603139+HYH0804@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Youwol <153346797+si-zero@users.noreply.github.com> Co-authored-by: 현준혁 <guswnsgur2276@metabuild.co.kr> Co-authored-by: HYH0804 <guswnsgur2276@gmail.com> Co-authored-by: JOO <107450745+jucheonsu@users.noreply.github.com> Co-authored-by: 서원지 <shuwj81@daum.net>
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.
Picke-iOS가 실제로 보내는 Sentry 오류, 로그, 성능 span, 프로파일, 커스텀 메트릭, 세션 안정성, 릴리즈 데이터를 관리자 API에서 프로젝트별로 조회합니다. 최근 오류 이벤트 10건은
full=true원본을 보존하며, Mixpanelsign_up일별 시리즈도 추가합니다.검증:
./gradlew test --tests 'com.swyp.picke.domain.admin.analytics.MixpanelClientTest' --tests 'com.swyp.picke.domain.admin.analytics.SentryClientTest'git diff --check운영 확인 항목:
org:read, 오류 이벤트는event:read, 릴리즈는project:read계열 권한이 필요합니다.