Class: OpenTelemetry::Instrumentation::AwsSdk::Plugin

Inherits:
Seahorse::Client::Plugin
  • Object
show all
Defined in:
lib/opentelemetry/instrumentation/aws_sdk/handler.rb

Overview

A Seahorse::Client::Plugin that enables instrumentation for all AWS services

Instance Method Summary collapse

Instance Method Details

#add_handlers(handlers, _config) ⇒ Object



97
98
99
100
# File 'lib/opentelemetry/instrumentation/aws_sdk/handler.rb', line 97

def add_handlers(handlers, _config)
  # run before Seahorse::Client::Plugin::ParamValidator (priority 50)
  handlers.add Handler, step: :validate, priority: 49
end