Module: Datadog::Core::Transport::Ext::HTTP

Defined in:
lib/datadog/core/transport/ext.rb

Constant Summary collapse

ADAPTER =
Datadog::Core::Configuration::Ext::Agent::HTTP::ADAPTER
DEFAULT_HOST =
Datadog::Core::Configuration::Ext::Agent::HTTP::DEFAULT_HOST
DEFAULT_PORT =
Datadog::Core::Configuration::Ext::Agent::HTTP::DEFAULT_PORT
HEADER_CONTAINER_ID =
'Datadog-Container-ID'
HEADER_DD_API_KEY =
'DD-API-KEY'
HEADER_CLIENT_COMPUTED_TOP_LEVEL =

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.

'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_LANG_INTERPRETER_VENDOR =

Use for distinguishing between CRuby, JRuby, and TruffleRuby.

'Datadog-Meta-Lang-Interpreter-Vendor'
HEADER_META_TRACER_VERSION =
'Datadog-Meta-Tracer-Version'
HEADER_DD_INTERNAL_UNTRACED_REQUEST =

Header that prevents the Net::HTTP integration from tracing internal trace requests. Set it to any value to skip tracing.

'DD-Internal-Untraced-Request'