Skip to content

Commit 72499cd

Browse files
committed
Add is_crash tag
1 parent 016f5ac commit 72499cd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/datadog/core/crashtracking/tag_builder.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def self.call(settings)
2323
'version' => settings.version,
2424
'git.repository_url' => Environment::Git.git_repository_url,
2525
'git.commit.sha' => Environment::Git.git_commit_sha,
26+
'is_crash' => true
2627
}.compact
2728

2829
# Make sure everything is an utf-8 string, to avoid encoding issues in downstream

spec/datadog/core/crashtracking/tag_builder_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
'runtime-id' => Datadog::Core::Environment::Identity.id,
1616
'runtime_platform' => RUBY_PLATFORM,
1717
'runtime_version' => RUBY_VERSION,
18+
'is_crash' => 'true',
1819
)
1920
end
2021

0 commit comments

Comments
 (0)