Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
AppSignal gem throws errors when running sequel migrations #91
When running migrations with with sequel log level set to
This runs normally until migrating and then for every query it throws this error:
slightly formatted for readability
AppSignal gem version that works:
Sequel gem version:
A quick look make me think this is the commit that broke it: f0f00b4#diff-dc2ceb9af0184cfe8b1141877ccc41e3L6
The payload is lost in appsignal as the commit removes it from the instrument call, but sequel-rails still depends on it to show it in the logs.
This is the line in sequel-rails why it only happens in debug: https://github.com/TalentBox/sequel-rails/blob/ad1a51b3ee45f90c99e28413bcc9d45c1eaf2eb8/lib/sequel_rails/railties/log_subscriber.rb#L35
Let me know if you need more information!
so that should generate the instrumentation (it's pretty much the same code as appsignal's instrumentation)
oooh... That's actually quite nice then. (Although I don't like it being a monkey patch for sequel.)
So if we rely on this we don't need to activate appsignal's instrumentation.