Performance monitoring
Queries run through Sequel are recorded assql.sequel events. The event body holds the query that ran, with its values removed. The event appears in the event timeline of your application’s performance actions, and in the “Slow queries” performance panel.
Disable instrumentation
We have a configuration option to disable instrumentation for Sequel. Read more about:instrument_sequel.
Known issues
sequel-rails integration
When using the sequel-rails gem the instrumentation from the sequel-rails gem and AppSignal gem can conflict when running migrations. Because both gems are instrumenting sequel you’ll get two instrumentation events and possible an error. Disable the AppSignal sequel instrumentation is this occurs.Lack of instrumentation
Some Sequel extensions override the AppSignal Ruby gem instrumentation. One such extension is the error_sql. This causes AppSignal to be unable to instrument Sequel. The effect being no Sequel instrumentation events to appear on AppSignal.com. To use the AppSignal instrumentations in this scenario, the AppSignal Sequel instrumentation needs to be loaded manually after all other extensions have loaded.2.0.2 do the other extension’s functionality remain
intact after loading the AppSignal instrumentation.
Span attributes
Collector mode only: this applies when AppSignal for Ruby runs in collector mode. It has no effect otherwise.
db.system.name— the database the query ran against, such aspostgresqlormysql.db.namespace— the name of the database it connected to.db.query.text— the query, with its values removed.