Skip to content

Commit

Permalink
Change send library_version instead of profiler_version
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Aug 13, 2024
1 parent acf21c7 commit 3ada1aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/datadog/core/crashtracking/tag_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion spec/datadog/core/crashtracking/tag_builder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3ada1aa

Please sign in to comment.