Method: Datadog::DI::Transport::HTTP::Diagnostics::API::Instance#send_diagnostics
- Defined in:
- lib/datadog/di/transport/http/diagnostics.rb
#send_diagnostics(env) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
22 23 24 25 26 27 28 |
# File 'lib/datadog/di/transport/http/diagnostics.rb', line 22 def send_diagnostics(env) raise Core::Transport::HTTP::API::Instance::EndpointNotSupportedError.new('diagnostics', self) unless spec.is_a?(Diagnostics::API::Spec) spec.send_diagnostics(env) do |request_env| call(request_env) end end |