diff --git a/lib/datadog/ci/test_visibility/recorder.rb b/lib/datadog/ci/test_visibility/recorder.rb index 74ff429f..eb4f0db4 100644 --- a/lib/datadog/ci/test_visibility/recorder.rb +++ b/lib/datadog/ci/test_visibility/recorder.rb @@ -225,7 +225,7 @@ def build_span(tracer_span, tags) def build_span_options(service, span_type, other_options = {}) other_options[:service] = service || @global_context.service - other_options[:span_type] = span_type + other_options[:type] = span_type other_options end