getsentry / getsentry/sentry-javascript

Allow use of `sessionStorage` in `browserSessionIntegration` to more accurately count sessions for MPAs

Đang mở
#14,478 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
Browser Feature Feature: Sessions
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.8k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
515

Mô tả

### Description

Session updates we send from the Browser SDK are currently per pageview, leading to more sessions than is commonly understood for MPAs. We find that Sessions likely should have the same lifetime as a Session Replay session. For this we should introduce an option in the `browserSessionIntegration` that allows a user to configure a persistence model using `sessionStorage` to more accurately collect number of sessions.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.