Sha256: db55315684d4d02018b217f5c9fab4d5b3782e439bdca020993cb77ee4ceb519
Contents?: true
Size: 1.82 KB
Versions: 11
Compression:
Stored size: 1.82 KB
Contents
# frozen_string_literal: true require_relative '../configuration/ext' module Datadog module Core module Transport # @public_api module Ext module HTTP HEADER_CONTAINER_ID = 'Datadog-Container-ID' HEADER_DD_API_KEY = 'DD-API-KEY' # Tells agent that `_dd.top_level` metrics have been set by the tracer. # The agent will not calculate top-level spans but instead trust the tracer tagging. # # This prevents partially flushed traces being mistakenly marked as top-level. # # Setting this header to any non-empty value enables this feature. HEADER_CLIENT_COMPUTED_TOP_LEVEL = 'Datadog-Client-Computed-Top-Level' HEADER_CLIENT_COMPUTED_STATS = 'Datadog-Client-Computed-Stats' HEADER_META_LANG = 'Datadog-Meta-Lang' HEADER_META_LANG_VERSION = 'Datadog-Meta-Lang-Version' HEADER_META_LANG_INTERPRETER = 'Datadog-Meta-Lang-Interpreter' # Use for distinguishing between CRuby, JRuby, and TruffleRuby. HEADER_META_LANG_INTERPRETER_VENDOR = 'Datadog-Meta-Lang-Interpreter-Vendor' HEADER_META_TRACER_VERSION = 'Datadog-Meta-Tracer-Version' # Header that prevents the Net::HTTP integration from tracing internal trace requests. # Set it to any value to skip tracing. HEADER_DD_INTERNAL_UNTRACED_REQUEST = 'DD-Internal-Untraced-Request' end module Test ADAPTER = :test end module UnixSocket ADAPTER = Datadog::Core::Configuration::Ext::Agent::UnixSocket::ADAPTER DEFAULT_PATH = Datadog::Core::Configuration::Ext::Agent::UnixSocket::DEFAULT_PATH DEFAULT_TIMEOUT_SECONDS = Datadog::Core::Configuration::Ext::Agent::UnixSocket::DEFAULT_TIMEOUT_SECONDS end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems