Skip to content

Commit

Permalink
Add Git SHA & Git Repository tags
Browse files Browse the repository at this point in the history
  • Loading branch information
colby-swandale authored and simi committed Jun 12, 2024
1 parent 492a23d commit e43259d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/initializers/datadog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
c.diagnostics.startup_logs.enabled = false
end

c.tags = {
"git.commit.sha" => AppRevision.version,
"git.repository_url" => "https://github.com/rubygems/rubygems.org"
}

# Configuring the datadog library

c.logger.instance = SemanticLogger[Datadog]
Expand Down

0 comments on commit e43259d

Please sign in to comment.