Sha256: f62a0d38652d3bda1175a958d515746840cf228454463fa9693b90f589075d40
Contents?: true
Size: 1.11 KB
Versions: 13
Compression:
Stored size: 1.11 KB
Contents
# frozen_string_literal: true module Datadog module Tracing module Contrib module Faraday # Faraday integration constants # @public_api Changing resource names, tag names, or environment variables creates breaking changes. module Ext ENV_ENABLED = 'DD_TRACE_FARADAY_ENABLED' ENV_SERVICE_NAME = 'DD_TRACE_FARADAY_SERVICE_NAME' ENV_PEER_SERVICE = 'DD_TRACE_FARADAY_PEER_SERVICE' ENV_ERROR_STATUS_CODES = 'DD_TRACE_FARADAY_ERROR_STATUS_CODES' # @!visibility private ENV_ANALYTICS_ENABLED = 'DD_TRACE_FARADAY_ANALYTICS_ENABLED' ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_FARADAY_ANALYTICS_SAMPLE_RATE' DEFAULT_PEER_SERVICE_NAME = 'faraday' SPAN_REQUEST = 'faraday.request' TAG_COMPONENT = 'faraday' 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
13 entries across 13 versions & 1 rubygems