Class: Datadog::Tracing::Contrib::Aws::Service::EventBridge

Inherits:
Base
  • Object
show all
Defined in:
lib/datadog/tracing/contrib/aws/service/eventbridge.rb

Overview

EventBridge tag handlers.

Instance Method Summary collapse

Instance Method Details

#add_tags(span, params) ⇒ Object



13
14
15
16
# File 'lib/datadog/tracing/contrib/aws/service/eventbridge.rb', line 13

def add_tags(span, params)
  rule_name = params[:name] || params[:rule]
  span.set_tag(Aws::Ext::TAG_RULE_NAME, rule_name)
end