Class: OpenTelemetry::Instrumentation::ActionPack::Instrumentation
- Inherits:
-
Base
- Object
- Base
- OpenTelemetry::Instrumentation::ActionPack::Instrumentation
- Defined in:
- lib/opentelemetry/instrumentation/action_pack/instrumentation.rb
Overview
The Instrumentation class contains logic to detect and install the ActionPack instrumentation
Installation and configuration of this instrumentation is done within the OpenTelemetry::SDK#configure block, calling use() or use_all().
Configuration keys and options
:span_naming
Specifies how the span names are set. Can be one of:
:semconv
(default) - The span name will use HTTP semantic conventions 'http.route', for exampleGET /users/:id
:class
- The span name will appear as '# ', for example UsersController#show
.
Constant Summary collapse
- MINIMUM_VERSION =
Gem::Version.new('7')