Saleh

Ouverte
#6,803 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
Une demi-journée
Accessibilité débutants
45/100
Type d'issue
Fonctionnalité
Clarté
À clarifier
Activité
Active
Stack technique
android, javascript, kotlin
Domaine
mobile-dev

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Kotlin
Étoiles
1.4k
Forks
483
Merge moyen
2 j 2 h
PR mergées (30 j)
202

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de getsentry/sentry-java

Toutes les issues de getsentry/sentry-java

Issues similaires

Plus d'issues Kotlin

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.