refactor: simplify collected metrics (#21963)

This commit is contained in:
Julien Robert
2024-09-28 11:20:39 +00:00
committed by GitHub
parent dd9e5825ae
commit 787ee6980f
20 changed files with 59 additions and 158 deletions
+3 -5
View File
@@ -8,11 +8,9 @@ import (
// Common metric key constants
const (
MetricKeyBeginBlocker = "begin_blocker"
MetricKeyEndBlocker = "end_blocker"
MetricKeyPrepareCheckStater = "prepare_check_stater"
MetricKeyPrecommiter = "precommiter"
MetricLabelNameModule = "module"
MetricKeyBeginBlocker = "begin_blocker"
MetricKeyEndBlocker = "end_blocker"
MetricLabelNameModule = "module"
)
// NewLabel creates a new instance of Label with name and value