Sha256: dcac1a7dfdc4fab2a6c0ab09a536f87d752d442c3c631c1282804959b725f210
Contents?: true
Size: 1.28 KB
Versions: 10
Compression:
Stored size: 1.28 KB
Contents
# frozen_string_literal: true module Datadog module Tracing module Contrib module Redis # Redis integration constants # @public_api Changing resource names, tag names, or environment variables creates breaking changes. module Ext ENV_ENABLED = 'DD_TRACE_REDIS_ENABLED' ENV_SERVICE_NAME = 'DD_TRACE_REDIS_SERVICE_NAME' ENV_PEER_SERVICE = 'DD_TRACE_REDIS_PEER_SERVICE' ENV_ANALYTICS_ENABLED = 'DD_TRACE_REDIS_ANALYTICS_ENABLED' ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_REDIS_ANALYTICS_SAMPLE_RATE' ENV_COMMAND_ARGS = 'DD_REDIS_COMMAND_ARGS' METRIC_PIPELINE_LEN = 'redis.pipeline_length' DEFAULT_PEER_SERVICE_NAME = 'redis' SPAN_COMMAND = 'redis.command' TAG_DB = 'out.redis_db' TAG_RAW_COMMAND = 'redis.raw_command' TYPE = 'redis' TAG_COMPONENT = 'redis' TAG_OPERATION_COMMAND = 'command' TAG_SYSTEM = 'redis' TAG_DATABASE_INDEX = 'db.redis.database_index' PEER_SERVICE_SOURCES = Array[ Tracing::Metadata::Ext::TAG_PEER_HOSTNAME, Tracing::Metadata::Ext::NET::TAG_DESTINATION_NAME, Tracing::Metadata::Ext::NET::TAG_TARGET_HOST,].freeze end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems