class OpenTelemetry::Instrumentation::RSpec::Instrumentation

The Instrumentation class contains logic to detect and install the Rspec instrumentation

Private Instance Methods

add_formatter!() click to toggle source
# File lib/opentelemetry/instrumentation/rspec/instrumentation.rb, line 27
def add_formatter!
  ::RSpec.configure do |config|
    config.add_formatter(Formatter)
  end
end
require_dependencies() click to toggle source
# File lib/opentelemetry/instrumentation/rspec/instrumentation.rb, line 23
def require_dependencies
  require_relative './formatter'
end