From 3b3809d4832d8b8845fdbd0d91462eaf5ce0d366 Mon Sep 17 00:00:00 2001 From: Andrey Marchenko Date: Mon, 15 Jan 2024 11:19:06 +0100 Subject: [PATCH] replace span_type option with type for Datadog::Tracing.trace --- lib/datadog/ci/test_visibility/recorder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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