From 3ada1aa411eec6d27a06d283e8c0d426b6318209 Mon Sep 17 00:00:00 2001 From: Tony Hsu Date: Tue, 13 Aug 2024 16:39:21 +0200 Subject: [PATCH] Change send `library_version` instead of `profiler_version` --- lib/datadog/core/crashtracking/tag_builder.rb | 2 +- spec/datadog/core/crashtracking/tag_builder_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/datadog/core/crashtracking/tag_builder.rb b/lib/datadog/core/crashtracking/tag_builder.rb index 0033deb73d8..0f1dbaaa98c 100644 --- a/lib/datadog/core/crashtracking/tag_builder.rb +++ b/lib/datadog/core/crashtracking/tag_builder.rb @@ -15,7 +15,7 @@ def self.call(settings) 'host' => Environment::Socket.hostname, 'language' => Environment::Identity.lang, 'process_id' => Process.pid.to_s, - 'profiler_version' => Environment::Identity.gem_datadog_version, + 'library_version' => Environment::Identity.gem_datadog_version, 'runtime' => Environment::Identity.lang, # This is known to be repeated from language, above 'runtime_engine' => Environment::Identity.lang_engine, 'runtime-id' => Environment::Identity.id, diff --git a/spec/datadog/core/crashtracking/tag_builder_spec.rb b/spec/datadog/core/crashtracking/tag_builder_spec.rb index 6f60b35401f..f75dcf37d3c 100644 --- a/spec/datadog/core/crashtracking/tag_builder_spec.rb +++ b/spec/datadog/core/crashtracking/tag_builder_spec.rb @@ -12,7 +12,7 @@ 'host' => Datadog::Core::Environment::Socket.hostname, 'language' => 'ruby', 'process_id' => Process.pid.to_s, - 'profiler_version' => start_with('2.'), + 'library_version' => start_with('2.'), 'runtime' => 'ruby', 'runtime_engine' => RUBY_ENGINE, 'runtime-id' => Datadog::Core::Environment::Identity.id,