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
11
votes
0 answers

Sentry invalid timestamp in future error issue

We are using sentry from long back for tracking errors for our different projects. But on the Sentry Admin UI recently we are getting a weird error with message Invalid timestamp (in future). To capture errors on our service we are using Flask…
A l w a y s S u n n y
  • 36,497
  • 8
  • 60
  • 103
11
votes
4 answers

Where to put `sentry.properties` file in Android Studio project?

The documentation was not very helpful for me. Locations I've tried: root folder (where gradle.properties and project's build.gradle files reside) /app folder (where app's build.gradle file is localed) /app/src/main/kotlin I initialize Sentry on…
Sevastyan Savanyuk
  • 5,797
  • 4
  • 22
  • 34
11
votes
1 answer

py.test: Show local variables in Jenkins

Up to now we call py.test via Jenkins. If a test fails, we see the usual stacktrace like this Traceback (most recent call last): File "/home/u/src/foo/bar/tests/test_x.py", line 36, in test_schema_migrations errors, out)) AssertionError:…
guettli
  • 25,042
  • 81
  • 346
  • 663
11
votes
1 answer

Logging in Django with raven and sentry

I may be a bit late on the train, but I wanted to use Sentry and Raven for logging in Django. I set up sentry and raven to the point, where I ran the test for raven and it works. So now I want to send my debug messages over to sentry, but how would…
Maximilian Kindshofer
  • 2,753
  • 3
  • 22
  • 37
11
votes
1 answer

Root logger in dictconfig

I want to setup a Sentry logger for a Django project. I will define a sentry handler and will put that handler in the root logger with error level. According to the documentation of logging module, there a special root key: root - this will be the…
warvariuc
  • 57,116
  • 41
  • 173
  • 227
10
votes
1 answer

How to exclude exceptions from Sentry in Symfony?

I have an installation of Symfony 4.3 and I upgrade it to 4.4.19. On my old installation Sentry was working well with excluded_exception. I use it like this on sentry.yaml : sentry: dsn: "https://key@sentry.io/id" options: …
Develogg
  • 134
  • 3
  • 13
10
votes
1 answer

AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'

I keep getting the below errors in my sentry exceptions AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module' And the trace only points to code withing the django code base without pointing to any place in my application. My…
Pratik Mandrekar
  • 9,362
  • 4
  • 45
  • 65
10
votes
2 answers

Add custom tags to raven

How to add custom tags to get raven set it to sentry? When I used raven in django there was several tags like OS, Browser, etc. But I want to add such tags by myself using raven, without django. Thanks.
Eugene Nagorny
  • 1,626
  • 3
  • 18
  • 32
9
votes
2 answers

What are some lightweight alternatives to django-sentry for logging?

Are there any lightweight alternatives to django-sentry for error logging in a Django environment? I used django-db-log earlier which now known as django-sentry. Some of the others I found were pretty much dead as they had no commits in the last two…
Mridang Agarwalla
  • 43,201
  • 71
  • 221
  • 382
9
votes
0 answers

"Error: Not a window" via Instagram App Browser

I am getting the error "Error: Not a window" in our sentry logs. This error is only occurring for users using Instagram's browser. In sentry, it says that the "function" for the exception is "setTimeout" and "addEventListener." The sentry trace…
Ben Senescu
  • 101
  • 1
9
votes
2 answers

Next.js source maps with typescript on Sentry

I have a simple setup for a project that imitates the Next JS sentry (simple) example The problem is without sentry Enable JavaScript source fetching feature on, I cannot get the source maps to report correctly to sentry example: with the Enable…
a14m
  • 7,808
  • 8
  • 50
  • 67
9
votes
3 answers

integrating Sentry in Next.js project

I am using Next.js with AMP. That means my code runs only on the server. no client code. I'm trying to integrate @sentry/node However, while i'm adding this line alone to index.js in /pages const Sentry = require('@sentry/node'); the build fails…
LiranC
  • 2,400
  • 1
  • 27
  • 55
9
votes
2 answers

How do I increase the max length of captured Python parameters in Sentry?

I'm using sentry-python==0.5.3 in a Django 1.11.6 project, and when I inspect a stacktrace's parameter list, I see some of the values are long enough to be cut off by a ... elipsis. I want to see the entire value. How do I configure sentry-python to…
Nathan Jones
  • 4,904
  • 9
  • 44
  • 70
9
votes
7 answers

Failed to Generate Signed Apk - An organization slug is required (provide with --org)

After setting up the Sentry.io error tracking I get this error when I try to Generate Signed Apk: Java Compiler error: An organization slug is required (provide with --org) Click on this image and open it to see more details: I cannot understand…
Alireza Noorali
  • 3,129
  • 2
  • 33
  • 80
9
votes
2 answers

Sending Error Mails when using django-sentry not working

I am using django-sentry for logging errors. I also want to enable throttled error mails to be sent to admins whenever an error occurs. But I can not get it working. a) Normal django error mailing is working. b) but on removing ADMINS and adding…
Ajay Yadav
  • 798
  • 1
  • 8
  • 18
1 2
3
95 96