Module: Datadog::CI::ContextFlush::Tagging
Overview
Common behavior for CI flushing
Instance Method Summary collapse
-
#get_trace(context) ⇒ Object
Decorate a trace with CI tags.
Instance Method Details
#get_trace(context) ⇒ Object
Decorate a trace with CI tags
10 11 12 13 14 15 |
# File 'lib/datadog/ci/context_flush.rb', line 10 def get_trace(context) context.get do |trace| # Origin tag is required on every span trace.each { |span| context.attach_origin(span) } if trace end end |