Method: OpenTelemetry::SDK::Configurator#use_all
- Defined in:
- lib/opentelemetry/sdk/configurator.rb
#use_all(instrumentation_config_map = {}) ⇒ Object
Install all registered instrumentation. Configuration for specific
instrumentation can be provided with the optional instrumentation_config_map
parameter. Only use or use_all, but not both when installing
instrumentation. A call to use after use_all will result in an
exception.
115 116 117 118 |
# File 'lib/opentelemetry/sdk/configurator.rb', line 115 def use_all(instrumentation_config_map = {}) check_use_mode!(USE_MODE_ALL) @instrumentation_config_map = instrumentation_config_map end |