Skip to content

Commit

Permalink
Add metric for duplicate archivals (uber#2372)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjdawson2016 authored and yycptt committed Aug 12, 2019
1 parent 90860ca commit 2e6fb7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/metrics/defs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1304,6 +1304,7 @@ const (
HistoryArchiverDeterministicConstructionCheckFailedCount
HistoryArchiverRunningBlobIntegrityCheckCount
HistoryArchiverBlobIntegrityCheckFailedCount
HistoryArchiverDuplicateArchivalsCount

MatchingClientForwardedCounter
MatchingClientInvalidTaskListName
Expand Down Expand Up @@ -1584,6 +1585,7 @@ var MetricDefs = map[ServiceIdx]map[int]metricDefinition{
HistoryArchiverDeterministicConstructionCheckFailedCount: {metricName: "history_archiver_deterministic_construction_check_failed", metricType: Counter},
HistoryArchiverRunningBlobIntegrityCheckCount: {metricName: "history_archiver_running_blob_integrity_check", metricType: Counter},
HistoryArchiverBlobIntegrityCheckFailedCount: {metricName: "history_archiver_blob_integrity_check_failed", metricType: Counter},
HistoryArchiverDuplicateArchivalsCount: {metricName: "history_archiver_duplicate_archivals", metricType: Counter},
MatchingClientForwardedCounter: {metricName: "forwarded", metricType: Counter},
MatchingClientInvalidTaskListName: {metricName: "invalid_task_list_name", metricType: Counter},
},
Expand Down

0 comments on commit 2e6fb7e

Please sign in to comment.