fix task metric types in statsd emitter (#10764)

except success and failure stats, task count metrics should all be
gauges, since they represent the current state and not some aggregate
counter over time.
This commit is contained in:
Xavier Léauté 2021-01-15 11:39:51 -08:00 committed by GitHub
parent a82910e065
commit c5ecbf6794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -59,15 +59,15 @@
"task/success/count" : { "dimensions" : ["dataSource"], "type" : "count" },
"task/failed/count" : { "dimensions" : ["dataSource"], "type" : "count" },
"task/running/count" : { "dimensions" : ["dataSource"], "type" : "count" },
"task/pending/count" : { "dimensions" : ["dataSource"], "type" : "count" },
"task/waiting/count" : { "dimensions" : ["dataSource"], "type" : "count" },
"task/running/count" : { "dimensions" : ["dataSource"], "type" : "gauge" },
"task/pending/count" : { "dimensions" : ["dataSource"], "type" : "gauge" },
"task/waiting/count" : { "dimensions" : ["dataSource"], "type" : "gauge" },
"taskSlot/total/count" : { "dimensions" : [], "type" : "count" },
"taskSlot/idle/count" : { "dimensions" : [], "type" : "count" },
"taskSlot/busy/count" : { "dimensions" : [], "type" : "count" },
"taskSlot/lazy/count" : { "dimensions" : [], "type" : "count" },
"taskSlot/blacklisted/count" : { "dimensions" : [], "type" : "count" },
"taskSlot/total/count" : { "dimensions" : [], "type" : "gauge" },
"taskSlot/idle/count" : { "dimensions" : [], "type" : "gauge" },
"taskSlot/busy/count" : { "dimensions" : [], "type" : "gauge" },
"taskSlot/lazy/count" : { "dimensions" : [], "type" : "gauge" },
"taskSlot/blacklisted/count" : { "dimensions" : [], "type" : "gauge" },
"task/run/time" : { "dimensions" : ["dataSource", "taskType"], "type" : "timer" },
"segment/added/bytes" : { "dimensions" : ["dataSource", "taskType"], "type" : "count" },