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,7 +195,7 @@ static Sum NumWorkersStarted(
"The total number of worker processes the worker pool has created.",
"processes");
static Sum NumSpilledTasks("internal_num_spilled_tasks",
static Gauge NumSpilledTasks("internal_num_spilled_tasks",
"The cumulative number of lease requeusts that this raylet "
"has spilled to other raylets.",
"tasks");