diff --git a/modules/forms_api/app/controllers/forms_api/v1/uploads_controller.rb b/modules/forms_api/app/controllers/forms_api/v1/uploads_controller.rb index 47ec01d12e6..6e490e5ad44 100644 --- a/modules/forms_api/app/controllers/forms_api/v1/uploads_controller.rb +++ b/modules/forms_api/app/controllers/forms_api/v1/uploads_controller.rb @@ -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))