Sha256: 00b8cb9f79b219c459742cad921af61f06dd0d757895d9062a13fc27e82b104e
Contents?: true
Size: 1.35 KB
Versions: 7
Compression:
Stored size: 1.35 KB
Contents
module Datadog module Transport # @public_api module Ext # @public_api module HTTP ADAPTER = :net_http # DEV: Rename to simply `:http`, as Net::HTTP is an implementation detail. DEFAULT_HOST = '127.0.0.1'.freeze DEFAULT_PORT = 8126 HEADER_CONTAINER_ID = 'Datadog-Container-ID'.freeze HEADER_DD_API_KEY = 'DD-API-KEY'.freeze # 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'.freeze HEADER_META_LANG = 'Datadog-Meta-Lang'.freeze HEADER_META_LANG_VERSION = 'Datadog-Meta-Lang-Version'.freeze HEADER_META_LANG_INTERPRETER = 'Datadog-Meta-Lang-Interpreter'.freeze HEADER_META_TRACER_VERSION = 'Datadog-Meta-Tracer-Version'.freeze end # @public_api module Test ADAPTER = :test end # @public_api module UnixSocket ADAPTER = :unix DEFAULT_PATH = '/var/run/datadog/apm.socket'.freeze DEFAULT_TIMEOUT_SECONDS = 1 end end end end
Version data entries
7 entries across 7 versions & 1 rubygems