blob: 6265be391a8bcdb822e0f252fc56f439bd21bbda (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2024 Datadog, Inc.
package constants
const (
// GitBranch indicates the current git branch.
// This constant is used to tag traces with the branch name being used in the CI/CD process.
GitBranch = "git.branch"
// GitCommitAuthorDate indicates the git commit author date related to the build.
// This constant is used to tag traces with the date when the author created the commit.
GitCommitAuthorDate = "git.commit.author.date"
// GitCommitAuthorEmail indicates the git commit author email related to the build.
// This constant is used to tag traces with the email of the author who created the commit.
GitCommitAuthorEmail = "git.commit.author.email"
// GitCommitAuthorName indicates the git commit author name related to the build.
// This constant is used to tag traces with the name of the author who created the commit.
GitCommitAuthorName = "git.commit.author.name"
// GitCommitCommitterDate indicates the git commit committer date related to the build.
// This constant is used to tag traces with the date when the committer applied the commit.
GitCommitCommitterDate = "git.commit.committer.date"
// GitCommitCommitterEmail indicates the git commit committer email related to the build.
// This constant is used to tag traces with the email of the committer who applied the commit.
GitCommitCommitterEmail = "git.commit.committer.email"
// GitCommitCommitterName indicates the git commit committer name related to the build.
// This constant is used to tag traces with the name of the committer who applied the commit.
GitCommitCommitterName = "git.commit.committer.name"
// GitCommitMessage indicates the git commit message related to the build.
// This constant is used to tag traces with the message associated with the commit.
GitCommitMessage = "git.commit.message"
// GitCommitSHA indicates the git commit SHA1 hash related to the build.
// This constant is used to tag traces with the SHA1 hash of the commit.
GitCommitSHA = "git.commit.sha"
// GitRepositoryURL indicates the git repository URL related to the build.
// This constant is used to tag traces with the URL of the repository where the commit is stored.
GitRepositoryURL = "git.repository_url"
// GitTag indicates the current git tag.
// This constant is used to tag traces with the tag name associated with the current commit.
GitTag = "git.tag"
)
|