Module: Datadog::Transport::HTTP::Traces::API::Instance
- Defined in:
- lib/ddtrace/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
64 65 66 67 68 69 70 |
# File 'lib/ddtrace/transport/http/traces.rb', line 64 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 |