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



53
54
55
56
# File 'lib/opentelemetry/instrumentation/aws_sdk/handler.rb', line 53

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