Search code examples
pythondjangosentryraven

Django sentry default tags


I'm using python-raven to automatically capture all 500 in my django project, and it works great. I'm also forwarding some exceptions that I handle and append them with a special tag to be able to filter them out. The problem is that I can not filter for messages that is missing a particular tag so I'd like to set a default tag for all messages, but can't get it to work.

I've tried the following but it's just ignored.

RAVEN_CONFIG = {
    'dsn': 'udp://x:y@z:q/w',
    'tags': {'testtag': 'value'},
}

Does anyone know how to send a default tag to sentry?


Solution

  • After looking into it a bit more it seems like this is not at all possible ATM.