Last active
October 1, 2021 11:41
-
-
Save metaskills/b4845bd45992e98b824cd5b529655a4d to your computer and use it in GitHub Desktop.
Safe Async Rollbar on AWS Lambda with Rails https://github.com/customink/lambda_punch
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
require 'rollbar/rails' | |
Rollbar.configure do |config| | |
config.use_async = true | |
config.async_handler = proc do |payload| | |
LambdaPunch.push { Rollbar.process_from_async_handler(payload) } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment