Method: Datadog::DI.component
- Defined in:
- lib/datadog/di.rb
.component ⇒ 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.
This method is called from DI Remote handler to issue DI operations to the probe manager (add or remove probes).
When DI Remote is executing, Datadog.components should be initialized and we should be able to reference it to get to the DI component.
Given that we need the current_component anyway for code tracker, perhaps we should delete the component
method and just use current_component
in all cases.
48 49 50 |
# File 'lib/datadog/di.rb', line 48 def component Datadog.send(:components).dynamic_instrumentation end |