class Aws::Plugins::Sign::Handler

def with_metrics(credentials, &block)

def with_metrics(credentials, &block)
  return block.call unless credentials&.respond_to?(:metrics)
  Aws::Plugins::UserAgent.metric(*credentials.metrics, &block)
end