Created
January 29, 2025 05:27
-
-
Save stympy/841740de636e1aaa078445e3a9cf9f6e to your computer and use it in GitHub Desktop.
Include Heroku dyno name in Insights events
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/initializers/honeybadger.rb | |
Honeybadger.configure do |config| | |
config.before_event do |event| | |
event[:dyno] = ENV['DYNO'] if ENV['DYNO'].present? | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment