How to add tags with python logbook?


I tried to add tags to my sentry event using logbook, but it doesn’t work.

Here is a snipper of what I did:

import raven
from raven.handlers.logbook import SentryHandler
import logbook

handler = SentryHandler('...')
logbook.error("test", extra={'tags': {'test_tag': '1.1'}})

But I see the tags I added as additional data and not as an actual tag:

Hi, please try:

logbook.error("test", tags={...})
1 Like

works great, thank you very much!