-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raven.tags_context is not working - I don't see any tags in my Sentry errors #918
Comments
We have very similar code in the same initializer file and also don't see any tags in Sentry itself. We are using Rails 5 + Unicorn, is that the same for you @ndbroadbent ? |
We are also seeing issues where a block defined with
And the errors are not getting tagged with the information in the wrapping blocks. |
@ndbroadbent Raven.tags_context(interesting: 'yes') do
# the `interesting: 'yes'` tag will only present in the requests sent inside the block
Raven.capture_exception(exception)
end If you want to add tags globally, try: Raven.configure do |config|
config.tags.merge!(foo: "bar")
end |
I'm trying to send some extra tags with my Sentry error reports, but they aren't showing up in Sentry. I set up the Sentry config in a file at
config/initializers/sentry.rb
:These tags aren't showing up for either Sidekiq jobs, nor for controller actions:
Should I be calling
Raven.tags_context
somewhere else, or I am doing this wrong? Thanks!The text was updated successfully, but these errors were encountered: