Sha256: 7a2117d20f1a83eb7a9875461cdfc79a73aa997faceae567b27d1deedfde0a52
Contents?: true
Size: 465 Bytes
Versions: 38
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true module Appsignal module Integrations 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
38 entries across 38 versions & 1 rubygems