zhuqi-lucas commented on code in PR #951:
URL: https://github.com/apache/yunikorn-core/pull/951#discussion_r1724561831


##########
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:
   Thanks @wilfred-s for clarify for this field,it makes sense to me.



-- 
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]

Reply via email to