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

"ERR_BLOCKED_BY_CLIENT" error on XHR request (sentry.io, maps.googleapis.com) by uBlock Origin like ad-blockers

Some of the XHR requests on my website is getting blocked by the uBlock origin adblocker it is throwing error like this GET https://maps.googleapis.com/maps/api/mapsjs/gen_204?csp_test=true net::ERR_BLOCKED_BY_CLIENT POST…
Sakshi Mahajan
  • 449
  • 4
  • 11
8
votes
3 answers

Sentry.io: Cookie notice required?

Per GDPR, I've been wondering if using sentry.io (in this case nuxt) on a website requires to show a cookie notification / settings to opt out from sentry ? Unfortunately, the sentry.io website only states that they align with GDPR, but does not…
Aerodynamic
  • 782
  • 5
  • 19
8
votes
1 answer

How to turn off Sentry in development and test environment?

I set up Sentry for a rails app, but it also logs errors on localhost, which is undesirable. How can I configure Sentry to only log the production and staging environments? (not development nor test environments) I looked at the ruby sentry docs,…
stevec
  • 41,291
  • 27
  • 223
  • 311
8
votes
1 answer

Firebase Crashlytics and Sentry do not work together? (iOS)

I have to work with 2 different SDKs which should report the Crashs. Once is Firebase Crashlytics and the other is Sentry. The second one I need in the company for different tools. With Firebase I have a better overview in general. My problem now…
Cloudy of Sky
  • 103
  • 1
  • 7
8
votes
1 answer

Make Sentry On-Premise installation more lightweight

Is there any way to lower the amount of dependent services and/or the amount of resources Sentry is using? Because I am thinking whether a minimum of 8GB of RAM is worth having error tracking for a small amount of projects. Or whether I should…
8
votes
4 answers

How can I tell Sentry not to alert certain exceptions?

I have a Rails 5 application using raven-ruby to send exceptions to Sentry which then sends alerts to our Slack. Raven.configure do |config| config.dsn = ENV['SENTRY_DSN'] config.environments = %w[ production development ] …
Schwern
  • 153,029
  • 25
  • 195
  • 336
8
votes
0 answers

Sourcemap was invalid or not parseable in Sentry

I am facing strange behavior from sentry. I use sentry-webpack-plugin to upload my sourcemaps to remote company sentry server. Everything seems to be allright. I see sourcemaps under artifacts in release tab. But the thing is, that in some cases…
8
votes
2 answers

How to log uncaught exceptions during Flink job execution

I am trying to attach Sentry to our Flink cluster to track job execution. Sentry acts as a logger which captures messages and sends them to a central server. By default it captures all messages with level WARN or higher. To get Sentry to catch all…
Tzanko Matev
  • 259
  • 1
  • 5
8
votes
1 answer

localStorage is null in chrome mobile android

I use Sentry to track the error in my website. The problem is sometimes chrome mobile for android has a null localStorage that cause all related method such as getItem or setItem will produce an error (Yeah, it's flaky). Have you ever got the…
8
votes
1 answer

Django/Raven/Sentry: different loggers for different DSNs

How can I configure Django logging to support different DSNs for different loggers? Something like this: settings.py LOGGING = { .. 'handlers': { 'sentry1': { 'level': 'ERROR', 'class':…
kev
  • 8,928
  • 14
  • 61
  • 103
8
votes
3 answers

Sentry raven-java user context

How can I set the user context with the sentry raven-java client? I've tried adding a user_email tag, and adding user_email to the MDC. They both work as expecting, with the tag going to tags, and MDC going to additional data, but neither sets the…
Alden
  • 6,553
  • 2
  • 36
  • 50
7
votes
0 answers

Custom _error page with Sentry for error catching does not work in Next.js v13

Q: How to make a custom _error page with Sentry to catch all 404 and other errors? Versions: Next.js v13.1 Node v16.16.0 Typescript Version 4.7.3 The custom _error page does not catch any errors. I have followed this guide from Sentry for Next.js:…
Prokop Simek
  • 312
  • 1
  • 12
7
votes
1 answer

Can not install sentry-onpromise using helm chart

I trying to install Sentry using helm chart But error occurs when installing Sentry using the Helm chart: I don't know what the problem is. This is my helm version and error log helm version version.BuildInfo{Version:"v3.10.2",…
Eddie Kim
  • 71
  • 1
7
votes
3 answers

Flutter - Sentry how to send event and stop sending in debug mode

How to send specific information in Sentry ? There is Events in documentation but how to use them properly and where exactly to use them (EX: Send user email with the error) ? Sentry provided this source code but where exactly I have to use it? : …
Rock
  • 511
  • 2
  • 7
  • 18
7
votes
2 answers

Sentry Please check if your DSN is set properly in your config or .env as `SENTRY_LARAVEL_DSN`

I've installed Sentry on my Laravel project but I can't run it, whenever I run command php artisan sentry:test the result is: [Sentry] DSN discovered! [Sentry] Generating test Event [Sentry] Sending test Event [Sentry] There was an error sending the…
Amir Salehi
  • 101
  • 2
  • 9