Saleh

Aperta
#6,803 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
android, javascript, kotlin
Ambito
mobile-dev

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Kotlin
Stelle
1.4k
Fork
483
Merge medio
2g 2h
PR unite (30g)
202

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/sentry-java

Tutte le issue di getsentry/sentry-java

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.