Questions tagged [sentry]

Sentry is a full-stack application monitoring solution. It provides features such as error monitoring, crash reporting, performance monitoring, and distributed tracing.

Sentry is a full-stack application monitoring solution. It provides features such as error monitoring, crash reporting, performance monitoring, and distributed tracing.

Installation & clients

Sentry provides a hosted service, as well as an self-hosted option. Most of Sentry, including the back-end and SDKs are open source.

Sentry works with most languages, frameworks, and libraries with its official and community-provided clients, including Ruby, Python, Java, PHP, Javascript, Cocoa, .NET, Unity Go, Dart/Flutter, C/C++, Rust, and many others - or you can also write your own client.

Useful links

1435 questions
7
votes
1 answer

Sentry error - IndexSizeError: The index is not in the allowed range

I am getting this error from Sentry repetitively in ios - safari 14.0 in react project. There is no code trace and no other information than this but it repeats in almost every URL. I have already searched for the options everywhere. I have tried…
Khushbu Patel
  • 193
  • 13
7
votes
2 answers

Capture 400's and 500's under Axios interceptors for sentry

Using Axios interceptors to handle the 400's and 500's in a generic manner by showing an Error Popup. Usually, Sentry calls are triggered when the custom _error.js page is rendered due to a JS error. How do I log the API call errors in sentry?
visizky
  • 701
  • 1
  • 8
  • 27
7
votes
2 answers

Sentry not getting TypeScript source maps when integrated with NestJS

I've created a small NestJS project recently which I attempting to integrate Sentry into. I have followed the instructions on the Nest-Raven package readme, along with the instructions provided by Sentry for TypeScript integration. Unfortunately I…
Conor Watson
  • 567
  • 1
  • 7
  • 28
7
votes
1 answer

Where to call Sentry.configureScope?

I am using sentry browser with my CRA react application. I create an error-boundary component and I am using it to catch errors. So far so good, I catch the error and successfully log it to sentry. The problem comes when I want to pass user…
gianni
  • 1,199
  • 2
  • 14
  • 28
7
votes
4 answers

Sentry on AWS lambda in nodejs doesn't send exception

I'm trying to configure sentry on AWS Lambda (nodejs 8.10) but the exceptions are not sent to Sentry. I'm the feeling that is a issue of timing: the lambda is terminated before the data are sent to sentry. Which is the right way to integrate sentry…
aGO
  • 1,263
  • 14
  • 30
7
votes
1 answer

How to set Default Organization of Sentry.io using sentry-cli

I'm going to use Sentry for My Android app. My company is using a self-hosted Sentry, version 9.0.0. I get the below answer when I run sentry-cli info command using sentry-cli: Sentry Server: https://log.mydomain.com Default Organization: - Default…
Alireza Noorali
  • 3,129
  • 2
  • 33
  • 80
7
votes
5 answers

How can I prevent sentry from capturing events for some uncaught exceptions and logging messages?

As recommended by Sentry's docs [1][2] for their new unified python sdk (sentry_sdk), I've configured it with my Django application to capture events on all exceptions or "error"-level logs: import sentry_sdk import logging from…
user85461
  • 6,510
  • 2
  • 34
  • 40
7
votes
2 answers

Python : How can I test that my error has been logged on sentry?

I have integrate my python default logger with raven . Now my errors are being logged on sentry.io/my_app. But I wanted to ask is there any way we can write unit tests for this function that generates an error and then somehow confirm that this…
7
votes
2 answers

What's a good setup for React Native crash reporting?

I'm seeing that getSentry has crash reporting for React Native now: https://docs.getsentry.com/hosted/clients/javascript/integrations/react-native/ I like them because they do a good job correlating exceptions with your source maps. But I also want…
faceyspacey.com
  • 2,510
  • 2
  • 20
  • 29
7
votes
0 answers

JavaScript [object Event] error on Android in GetSentry

I am using GetSentry for JavaScript error monitoring and I have an error, that I cannot find or cannot reproduce. On many of my pages (for example here) I have an error: [object Event] The error occurs (according to GetSentry) only on Android…
Alex Frenkel
  • 409
  • 5
  • 15
7
votes
1 answer

Interpreting Sentry frequency graph

Sentry provides nice graphs to show message frequency, but little information about what do they actually show. Are these messages per minute? 5 minutes? 15 minute? hour?
vartec
  • 131,205
  • 36
  • 218
  • 244
7
votes
3 answers

What is the Recommended Twisted Sentry/Raven Integration?

There are many integrations for raven, including python logging. On the one side, twisted does not use python's logging. And on the other side, there is no direct integration for raven in twisted. So what is the current best practice for using raven…
Elrond
  • 901
  • 9
  • 23
7
votes
0 answers

Unable to send log messages form celery task to Sentry

I'm having an issue logging to Sentry from within a celery task. Errors in tasks work fine. However, when I try to manually log an event, it gets logged to the celery logs, but not to the sentry server. The code I'm using is: @task def…
ChrisBurnor
  • 169
  • 6
7
votes
4 answers

Create account in Sentry

Can I create a new account in Sentry? How? It necessary for add user: "You may add a user by their username if they already have an account.". TIA.
Evgenii
  • 3,283
  • 3
  • 27
  • 32
7
votes
2 answers

How to use sentry/raven in django views

I managed to install sentry successfully and I can see the sentry interface webservice at localhost and doing a raven test http://jsifslkdjfklsdfjklsdjfklMYCODE works, the tests shows up in the interface. The problem is I can't find any examples…
grillermo
  • 71
  • 1
  • 3