Sha256: 3e41e15c8ef6bb6a253cb390fead3bc834d068b548a281c46b18bddb6c4a7465
Contents?: true
Size: 1.53 KB
Versions: 3
Compression:
Stored size: 1.53 KB
Contents
# frozen_string_literal: true 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' DEFAULT_PORT = 8126 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_META_LANG = 'Datadog-Meta-Lang' HEADER_META_LANG_VERSION = 'Datadog-Meta-Lang-Version' HEADER_META_LANG_INTERPRETER = 'Datadog-Meta-Lang-Interpreter' 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 # @public_api module Test ADAPTER = :test end # @public_api module UnixSocket ADAPTER = :unix DEFAULT_PATH = '/var/run/datadog/apm.socket' DEFAULT_TIMEOUT_SECONDS = 1 end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-1.14.0 | lib/ddtrace/transport/ext.rb |
ddtrace-1.13.1 | lib/ddtrace/transport/ext.rb |
ddtrace-1.13.0 | lib/ddtrace/transport/ext.rb |