Module: Datadog::Tracing::Transport::HTTP::Traces::API::Instance
- Included in:
- API::Instance
- Defined in:
- lib/datadog/tracing/transport/http/traces.rb
Overview
Extensions for HTTP API Instance
Defined Under Namespace
Classes: TracesNotSupportedError
Instance Method Summary collapse
Instance Method Details
#send_traces(env) ⇒ Object
75 76 77 78 79 80 81 |
# File 'lib/datadog/tracing/transport/http/traces.rb', line 75 def send_traces(env) raise TracesNotSupportedError, spec unless spec.is_a?(Traces::API::Spec) spec.send_traces(env) do |request_env| call(request_env) end end |