Questions tagged [raven]

Use the [raven] tag for questions related to the standalone (and the official) Python client for Sentry (previously django-sentry). Use [ravendb] for the RavenDB related questions.

Raven is a standalone (and the official) Python client for Sentry (previously django-sentry).

136 questions
71
votes
2 answers

Source maps files in production - Is it safe?

I'm using UglifyJS to minify and uglify my sources, and Sentry to report errors from my production environment. In order to get errors from Sentry, in a readable manner, I need to add source-map Is it safe to do it in production servers, or the…
Ofer Velich
  • 1,699
  • 3
  • 16
  • 24
25
votes
2 answers

How do you configure a Sentry raven client in a development environment to not send exceptions and still work?

We are running a Django server and using Sentry to capture exceptions. When we configure Sentry we add RAVEN_CONFIG our different settings.py files: INSTALLED_APPS = ( 'raven.contrib.django.raven_compat' ) RAVEN_CONFIG = { 'dsn':…
Agam Rafaeli
  • 4,521
  • 3
  • 16
  • 21
12
votes
1 answer

PHP error logs were successfully sent to Sentry but on the Sentry Dashboard no logs showed

What are the reasons why Sentry Dashboard is not being updated even though errors were successfully sent? I've tried simulating an error and logging the whole process in Raven library from getting the exception up to sending to sentry. Raven…
jhnferraris
  • 1,291
  • 1
  • 10
  • 32
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,458
  • 2
  • 17
  • 31
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
  • 4,606
  • 2
  • 27
  • 54
9
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,333
  • 3
  • 17
  • 31
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
  • 69,174
  • 40
  • 208
  • 346
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
  • 48,778
  • 16
  • 144
  • 168
8
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
  • 6,284
  • 3
  • 30
  • 54
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
  • 7,033
  • 12
  • 46
  • 83
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,293
  • 2
  • 32
  • 46
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
  • 812
  • 7
  • 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
  • 5
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
7
votes
1 answer

Sentry + Raven, HTTP Error 401: UNAUTHORIZED

I have a Sentry application, running correctly on the url: mydomain.com:11011. I have a project created with the CDN: http://XXX:YYY@mydomain.com:11011/2 This url is served with HAProxy with this configuration: listen sentry *:11011 mode tcp …
b3ni
  • 140
  • 7
1
2 3
9 10