Sha256: 2addd2a44def526cd7fdbff1e05424e855ac6e313eca492d0b77101372dad25c
Contents?: true
Size: 1.07 KB
Versions: 17
Compression:
Stored size: 1.07 KB
Contents
# frozen_string_literal: true module Datadog module Tracing module Contrib module RestClient # RestClient integration constants # @public_api Changing resource names, tag names, or environment variables creates breaking changes. module Ext ENV_ENABLED = 'DD_TRACE_REST_CLIENT_ENABLED' ENV_SERVICE_NAME = 'DD_TRACE_REST_CLIENT_SERVICE_NAME' ENV_PEER_SERVICE = 'DD_TRACE_REST_CLIENT_PEER_SERVICE' # @!visibility private ENV_ANALYTICS_ENABLED = 'DD_TRACE_REST_CLIENT_ANALYTICS_ENABLED' ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_REST_CLIENT_ANALYTICS_SAMPLE_RATE' DEFAULT_PEER_SERVICE_NAME = 'rest_client' SPAN_REQUEST = 'rest_client.request' TAG_COMPONENT = 'rest_client' TAG_OPERATION_REQUEST = 'request' 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
17 entries across 17 versions & 2 rubygems