Skip to main content
The AppSignal gem works out of the box with DataMapper! Nothing to do. Lucky!

Performance monitoring

Queries run through DataMapper are recorded as query.data_mapper 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.

Span attributes

Collector mode only: this applies when AppSignal for Ruby runs in collector mode. It has no effect otherwise.
The query’s span carries:
  • db.system.name — the database the query ran against, such as postgresql or mysql.
  • db.query.text — the query, with its values removed.