Fix metric type for NumSpilledTasks to gauge (#23391)

The metric type for NumSpilledTasks should be gauge since the sum already happens in SchedulerStats.
This commit is contained in:
Jiajun Yao 2022-03-22 16:17:00 -07:00 committed by GitHub
parent bab19e8e68
commit dfebf7ffae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -195,10 +195,10 @@ static Sum NumWorkersStarted(
"The total number of worker processes the worker pool has created.", "The total number of worker processes the worker pool has created.",
"processes"); "processes");
static Sum NumSpilledTasks("internal_num_spilled_tasks", static Gauge NumSpilledTasks("internal_num_spilled_tasks",
"The cumulative number of lease requeusts that this raylet " "The cumulative number of lease requeusts that this raylet "
"has spilled to other raylets.", "has spilled to other raylets.",
"tasks"); "tasks");
static Gauge NumInfeasibleSchedulingClasses( static Gauge NumInfeasibleSchedulingClasses(
"internal_num_infeasible_scheduling_classes", "internal_num_infeasible_scheduling_classes",