Module: Datadog::Tracing::Transport::HTTP::API
- Defined in:
- lib/datadog/tracing/transport/http/api.rb,
lib/datadog/tracing/transport/http/api/spec.rb,
lib/datadog/tracing/transport/http/api/instance.rb
Overview
Namespace for API components
Defined Under Namespace
Constant Summary collapse
- V4 =
Default API versions
'v0.4'
- V3 =
'v0.3'
Class Method Summary collapse
Class Method Details
.defaults ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/datadog/tracing/transport/http/api.rb', line 22 def defaults Datadog::Core::Transport::HTTP::API::Map[ V4 => Spec.new do |s| s.traces = Traces::API::Endpoint.new( '/v0.4/traces', Core::Encoding::MsgpackEncoder, service_rates: true ) end, V3 => Spec.new do |s| s.traces = Traces::API::Endpoint.new( '/v0.3/traces', Core::Encoding::MsgpackEncoder ) end, ].with_fallbacks(V4 => V3) end |