zhuqi-lucas commented on code in PR #951:
URL: https://github.com/apache/yunikorn-core/pull/951#discussion_r1722813874
##########
pkg/metrics/scheduler.go:
##########
@@ -84,8 +84,8 @@ func InitSchedulerMetrics() *SchedulerMetrics {
Help: "Total number of attempts to allocate
containers. State of the attempt includes `allocated`, `rejected`, `error`,
`released`",
}, []string{"state"})
- s.applicationSubmission = prometheus.NewCounterVec(
- prometheus.CounterOpts{
+ s.applicationSubmission = prometheus.NewGaugeVec(
Review Comment:
Change to gauge because, we want to support dec also
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]