bugsnag / bugsnag-ruby

BugSnag error monitoring & reporting software for rails, sinatra, rack and ruby
https://docs.bugsnag.com/platforms/ruby
MIT License
246 stars 174 forks source link

Add feature flags to events #746

Closed imjoehaines closed 1 year ago

imjoehaines commented 1 year ago

Goal

Feature flags can now be added and removed from events in callbacks, e.g.:

Bugsnag.notify(exception) do |event|
  event.add_feature_flag("example")
  event.add_feature_flag("another example", "variant-1234")
end