Skip to main content
The AppSignal gem works out of the box with the redis and redis-client Ruby gems.

Performance monitoring

Redis commands run by your application are recorded as query.redis events. The event body holds the command that ran, with its arguments removed. The event appears in the event timeline of your application’s performance actions, and in the “Slow queries” performance panel. If you wish to disable our integration with the Redis gem, set the instrument_redis config option to false to disable it.

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.operation.name — the command that ran, such as GET.
  • db.namespace — the database number the command ran against.
The command itself is not recorded as an attribute. It is already sanitized into the event body.