Sha256: a02a01c6e8ce16a4941c8d471bde677a1a1cfb84a4ae36b353cd6feb65261d2d
Contents?: true
Size: 451 Bytes
Versions: 172
Compression:
Stored size: 451 Bytes
Contents
# frozen_string_literal: true module Appsignal module Integrations module RedisIntegration def write(command) sanitized_command = if command[0] == :eval "#{command[1]}#{" ?" * (command.size - 3)}" else "#{command[0]}#{" ?" * (command.size - 1)}" end Appsignal.instrument "query.redis", id, sanitized_command do super end end end end end
Version data entries
172 entries across 172 versions & 1 rubygems