Skip to content

Commit

Permalink
change span to trace to put tag at highest level (#12831)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmrabian authored May 30, 2023
1 parent fc0bb71 commit 4e32b50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class UploadsController < ApplicationController
}.freeze

def submit
Datadog::Tracing.active_span&.set_tag('form_id', params[:form_number])
Datadog::Tracing.active_trace&.set_tag('form_id', params[:form_number])

form_id = FORM_NUMBER_MAP[params[:form_number]]
filler = FormsApi::PdfFiller.new(form_number: form_id, data: JSON.parse(params.to_json))
Expand Down

0 comments on commit 4e32b50

Please sign in to comment.