module Datadog::CI::ContextFlush::Tagging
Common behavior for CI
flushing
Public Instance Methods
get_trace(context)
click to toggle source
Decorate a trace with CI
tags
# 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