Saleh

Đang mở
#6,803 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ó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Lĩnh vực
mobile-dev

Hướng nghiên cứu

Start with the Android integration and the application's Sentry.init() call, then determine how the sentry-java SDK is initialized in this repository. The pasted React Native instructions do not identify a Java or Kotlin entry point, and the reproduction steps are only foo, so the required project change must first be clarified. Done means the requested tracing behavior is implemented in the appropriate Android or JVM SDK code and verified by an integration test or a documented verification procedure.

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

Mô tả

Android Bug Platform: Java Waiting for: Product Owner
Integration

sentry-android

Build System

Gradle

AGP Version

1.0

Proguard

Enabled

Other Error Monitoring Solution

No

Version

35

Steps to Reproduce

1.foo

Expected Result

Please enable Sentry tracing in my app.

Actual Result

Install

Make sure your Sentry React Native SDK version is at least 5.32.0. If you already have the SDK installed, you can update it to the latest version with:

pnpm add @sentry/react-native@latest

Configure SDK

Enable Tracing and Profiling by adding tracesSampleRate and profilesSampleRate to your Sentry.init() call.


import * as Sentry from "@sentry/react-native";

Sentry.init({
  dsn: "https://92d0d12719a88713f4e8e4880d874943@o4512511618908160.ingest.de.sentry.io/4512511947309136",
  dataCollection: {
    // To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:
    // https://docs.sentry.io/platforms/react-native/configuration/options/#dataCollection
    // userInfo: false,
    // httpBodies: [],
  },
  // Set tracesSampleRate to 1.0 to capture 100% of transactions for tracing.
  // We recommend adjusting this value in production.
  tracesSampleRate: 1.0,
  // profilesSampleRate is relative to tracesSampleRate.
  // Here, we'll capture profiles for 100% of transactions.
  profilesSampleRate: 1.0,
});

Verify

Verify that profiling is working correctly by simply using your application.

Ngôn ngữ chính
Kotlin
Star
1.4k
Fork
483
Merge trung bình
2 ngày 2 giờ
Pull request đã merge (30 ngày)
202

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-java

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

Issue tương tự

Thêm issue về Kotlin

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.