Class: Datadog::Profiling::Transport::HTTP::API::Instance
- Inherits:
-
Transport::HTTP::API::Instance
- Object
- Transport::HTTP::API::Instance
- Datadog::Profiling::Transport::HTTP::API::Instance
- Defined in:
- lib/ddtrace/profiling/transport/http/api/instance.rb
Overview
API instance for profiling
Defined Under Namespace
Classes: ProfilesNotSupportedError
Instance Attribute Summary
Attributes inherited from Transport::HTTP::API::Instance
Instance Method Summary collapse
Methods inherited from Transport::HTTP::API::Instance
Constructor Details
This class inherits a constructor from Datadog::Transport::HTTP::API::Instance
Instance Method Details
#send_profiling_flush(env) ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/ddtrace/profiling/transport/http/api/instance.rb', line 12 def send_profiling_flush(env) raise ProfilesNotSupportedError, spec unless spec.is_a?(Spec) spec.send_profiling_flush(env) do |request_env| call(request_env) end end |