You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/scheduler/metrics/metrics.go
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -192,6 +192,16 @@ var (
192
192
Help: "Total preemption attempts in the cluster till now",
193
193
})
194
194
195
+
pendingPods=prometheus.NewGaugeVec(
196
+
prometheus.GaugeOpts{
197
+
Subsystem: SchedulerSubsystem,
198
+
Name: "pending_pods_total",
199
+
Help: "Number of pending pods, by the queue type. 'active' means number of pods in activeQ; 'backoff' means number of pods in backoffQ; 'unschedulable' means number of pods in unschedulableQ.",
0 commit comments