Sha256: 42cb24f42a518d7ec5723857034508138ac433be537b6b23e7a16edf8095354b
Contents?: true
Size: 484 Bytes
Versions: 84
Compression:
Stored size: 484 Bytes
Contents
# frozen_string_literal: true module Appsignal module Integrations # @api private module RedisClientIntegration 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", @config.id, sanitized_command do super end end end end end
Version data entries
84 entries across 84 versions & 1 rubygems