|
14 | 14 | import datadog.trace.api.civisibility.telemetry.tag.ExitCode; |
15 | 15 | import datadog.trace.api.civisibility.telemetry.tag.FailFastTestOrderEnabled; |
16 | 16 | import datadog.trace.api.civisibility.telemetry.tag.FlakyTestRetriesEnabled; |
| 17 | +import datadog.trace.api.civisibility.telemetry.tag.GitProviderDiscrepant; |
| 18 | +import datadog.trace.api.civisibility.telemetry.tag.GitProviderExpected; |
| 19 | +import datadog.trace.api.civisibility.telemetry.tag.GitShaDiscrepancyType; |
| 20 | +import datadog.trace.api.civisibility.telemetry.tag.GitShaMatch; |
17 | 21 | import datadog.trace.api.civisibility.telemetry.tag.HasCodeowner; |
18 | 22 | import datadog.trace.api.civisibility.telemetry.tag.HasFailedAllRetries; |
19 | 23 | import datadog.trace.api.civisibility.telemetry.tag.ImpactedTestsDetectionEnabled; |
@@ -101,6 +105,14 @@ public enum CiVisibilityCountMetric { |
101 | 105 | GIT_COMMAND("git.command", Command.class), |
102 | 106 | /** The number of git commands that errored */ |
103 | 107 | GIT_COMMAND_ERRORS("git.command_errors", Command.class, ExitCode.class), |
| 108 | + /** Number of commit sha comparisons and if they matched when building git info for a repo */ |
| 109 | + GIT_COMMIT_SHA_MATCH("git.commit_sha_match", GitShaMatch.class), |
| 110 | + /** Number of sha mismatches when building git info for a repo */ |
| 111 | + GIT_COMMIT_SHA_DISCREPANCY( |
| 112 | + "git.commit_sha_discrepancy", |
| 113 | + GitProviderExpected.class, |
| 114 | + GitProviderDiscrepant.class, |
| 115 | + GitShaDiscrepancyType.class), |
104 | 116 | /** The number of requests sent to the search commit endpoint */ |
105 | 117 | GIT_REQUESTS_SEARCH_COMMITS("git_requests.search_commits", RequestCompressed.class), |
106 | 118 | /** The number of search commit requests sent to the endpoint that errored */ |
|
0 commit comments