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
9
votes
1 answer

Why Raven.js/Sentry says jQuery is not defined

I am getting many errors in Sentry saying that "ReferenceError: jQuery is not defined", but still it occurs quite rarely in compare with total number of page loads.
amik
  • 5,613
  • 3
  • 37
  • 62
9
votes
4 answers

How to pass properties from application.properties to logback config file

Overview: I am using Sentry appender in my logback.xml file and I want to pass plenty of tags as parameters from application.properties file to logback config file. logback.xml file:
saeedj
  • 2,179
  • 9
  • 25
  • 38
9
votes
2 answers

Configure Sentry for different environments (staging, production)

I want to configure Sentry in a Django app to report errors using different environments, like staging and production. This way I can configure alerting per environment. How can I configure different environments for Raven using different Django…
dukebody
  • 7,025
  • 3
  • 36
  • 61
9
votes
3 answers

Disable sentry for laravel on local environment

Is there any way to disable sentry for laravel 5 on local environnement? I have removed the SENTRY_DSN entry from my .env file and it seems to work but I am not sure it's the right way. Should I add some check about env in report function? Or is…
rap-2-h
  • 30,204
  • 37
  • 167
  • 263
9
votes
1 answer

Logging Nginx and uWSGI web server errors to Sentry

I am currently using Sentry to log application level errors from Django web application. Could it be possible to expand the scope of the Sentry to include logging of web server errors (HTTP 408 timeouts and such)? These requests never hit the…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
9
votes
2 answers

handle all exception in scrapy with sentry

I'm working on a project with scrapy for a while now, and i wanted to integrate sentry, I've used scrapy-sentry but it it didn't work at all i tried also to implement it using Extensions but it works only if an error occurred in the spider's…
elmkarami
  • 133
  • 1
  • 8
9
votes
1 answer

sentry/raven with django: how to ignore certain exceptions?

I'd like sentry/raven to ignore all exceptions from a certain function or django module, but looking into the docs and the code, I only saw an option to ignore a custom exception by adding an extra attribute to it. Is there a way to ignore…
Z. Lin
  • 1,422
  • 3
  • 12
  • 16
9
votes
3 answers

Uglify with SourceMaps while using grunt usemin and rev

I want to log javascript errors to server but the stacktrace is not useful with minified JS code. So I was thinking of using either Getsentry or Rollbar which shows proper stack trace with the help of sourcemaps. But I'm struggling to create…
IsmailS
  • 10,797
  • 21
  • 82
  • 134
9
votes
2 answers

How do I set current_user in middleware?

To give more background to my question, please refer to this Github issue - https://github.com/getsentry/raven-ruby/issues/144 I am using raven which is an error logger. I want to add the id for the current_user if user is logged in. The answer I…
rohitmishra
  • 8,739
  • 7
  • 33
  • 34
9
votes
3 answers

How to stop sentry server

I know how to sentry start. But when I change the sentry.conf.py, how can I make it work? I run sentry help and can not find sentry stop or restart commond. Is there a way to restart the sentry server?
dongwq
  • 99
  • 1
  • 3
8
votes
2 answers

sentry, raven and django celery

Now that django-sentry has become a standalone server (and is fantastic) I'm trying to port my apps over to use it. I have set up a standalone server configured a django application to log using django 1.3's logging dictionary conf as per the raven…
Timmy O'Mahony
  • 53,000
  • 18
  • 155
  • 177
8
votes
1 answer

Troubleshooting "Non-Error promise rejection captured with value: Object Not Found Matching Id" in Sentry, from MERN App

This is an issue we've had for a while now, although this error has recently been appearing much more frequently for us in Sentry. Clicking into the issue does not give us much more info: Like any painful error, we are having difficulty recreating…
Canovice
  • 9,012
  • 22
  • 93
  • 211
8
votes
1 answer

Exception caught in Sentry, Error {} //hidden/ in y@webkit-masked-url

As a beginner to Sentry and web dev and debugging issues, some of the errors Sentry is picking up are completely baffling to me, including this one. Our web app seems just fine at the URL that Sentry is saying there is an error at. I'm not familiar…
Canovice
  • 9,012
  • 22
  • 93
  • 211
8
votes
2 answers

Sentry: undefined is not an object (evaluating 'ceCurrentVideo.currentTime')

Getting the below error in our Sentry logs. TypeError i(@sentry/browser/esm/helpers) undefined is not an object (evaluating 'ceCurrentVideo.currentTime') Definitely a third party something, but my search for what this could be has turned up…
CopyJosh
  • 575
  • 1
  • 5
  • 12
8
votes
0 answers

Sentry reported an error: Invalid token (http status: 401) - Sentry NextJs

After integration sentry in my project the dev environment works fine but when I try to build the project with yarn build i face this error. Sentry CLI Plugin: Command failed:…
Anamul Haque
  • 7,069
  • 5
  • 23
  • 38