Sha256: dc0c259811b51127994dd0e607e0e80eeb8de35d588ed0bd231b7f72227bfdd6
Contents?: true
Size: 578 Bytes
Versions: 6
Compression:
Stored size: 578 Bytes
Contents
# This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. # frozen_string_literal: true module NewRelic::Agent::Instrumentation::Redis class Constants PRODUCT_NAME = 'Redis' CONNECT = 'connect' UNKNOWN = 'unknown' LOCALHOST = 'localhost' MULTI_OPERATION = 'multi' PIPELINE_OPERATION = 'pipeline' HAS_REDIS_CLIENT = defined?(::Redis) && Gem::Version.new(::Redis::VERSION) >= Gem::Version.new('5.0.0') && !!defined?(::RedisClient) end end
Version data entries
6 entries across 6 versions & 1 rubygems