Skip to content

Commit

Permalink
fix: manager metrics Subsystem (#2175)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <gaius.qi@gmail.com>
  • Loading branch information
gaius-qi committed Mar 15, 2023
1 parent db93c01 commit 1037b6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manager/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ var (

SearchSchedulerClusterCount = promauto.NewCounterVec(prometheus.CounterOpts{
Namespace: types.MetricsNamespace,
Subsystem: types.SchedulerMetricsName,
Subsystem: types.ManagerMetricsName,
Name: "search_scheduler_cluster_total",
Help: "Counter of the number of searching scheduler cluster.",
}, []string{"version", "commit"})

SearchSchedulerClusterFailureCount = promauto.NewCounterVec(prometheus.CounterOpts{
Namespace: types.MetricsNamespace,
Subsystem: types.SchedulerMetricsName,
Subsystem: types.ManagerMetricsName,
Name: "search_scheduler_cluster_failure_total",
Help: "Counter of the number of failed of searching scheduler cluster.",
}, []string{"version", "commit"})
Expand Down

0 comments on commit 1037b6d

Please sign in to comment.