// All the histogram based metrics have 1ms as size for the smallest bucket.
// All the histogram based metrics have 1ms as size for the smallest bucket.
var(
var(
scheduleAttempts=prometheus.NewCounterVec(
prometheus.CounterOpts{
Subsystem:SchedulerSubsystem,
Name:"schedule_attempts_total",
Help:"Number of attempts to schedule pods, by the result. 'unschedulable' means a pod could not be scheduled, while 'error' means an internal scheduler problem.",
},[]string{"result"})
// PodScheduleSuccesses counts how many pods were scheduled.