User Timing API: auto-convert performance.mark()/measure() into spans

Đang mở
#6,745 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
50/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
react-native, typescript
Lĩnh vực
mobile, observability-sre

Hướng nghiên cứu

Start by reviewing @sentry/browser's existing _addMeasureSpans behavior in browserTracingIntegration and the React Native SDK's PerformanceObserver, performance.mark(), and performance.measure() entry points. The work is complete when user and third-party User Timing calls create child spans automatically and the ignorePerformanceApiSpans exclusion option is supported.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

React-Native

RN >=0.82's PerformanceObserver/performance.mark()/measure() let us port @sentry/browser's existing User Timing feature (_addMeasureSpans in browserTracingIntegration, with an ignorePerformanceApiSpans exclusion option): any performance.mark()/measure() call in user or third-party code becomes a child span automatically, no Sentry-specific instrumentation needed. Not currently present anywhere in this SDK.

Ngôn ngữ chính
TypeScript
Star
1.8k
Fork
371
Merge trung bình
22 giờ 3 phút
Pull request đã merge (30 ngày)
106

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của getsentry/sentry-react-native

Tất cả issue của getsentry/sentry-react-native

Issue tương tự

Thêm issue về TypeScript

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.