Sha256: b92cac89ce26ae250ed509ddbb8e0a8ee06a1d26f5c81634357e0add034e44e5
Contents?: true
Size: 470 Bytes
Versions: 70
Compression:
Stored size: 470 Bytes
Contents
# frozen_string_literal: true module Appsignal module Integrations # @api private 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
70 entries across 70 versions & 1 rubygems