Saleh

Aberta
#6,803 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
Meio dia
Facilidade para iniciantes
45/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
android, javascript, kotlin
Domínio
mobile-dev

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Kotlin
Estrelas
1.4k
Forks
483
Merge médio
2d 2h
PRs com merge (30d)
202

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de getsentry/sentry-java

Todas as issues de getsentry/sentry-java

Issues semelhantes

Mais issues de Kotlin

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.