Skip to content

Commit

Permalink
Fix description and base unit for executor.queued
Browse files Browse the repository at this point in the history
Closes gh-1060
  • Loading branch information
izeye authored and jkschneider committed Dec 12, 2018
1 parent 7de4e43 commit b89dda5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ private void monitor(MeterRegistry registry, @Nullable ThreadPoolExecutor tp) {

Gauge.builder("executor.queued", tp, tpRef -> tpRef.getQueue().size())
.tags(tags)
.description("The approximate number of threads that are queued for execution")
.baseUnit("threads")
.description("The approximate number of tasks that are queued for execution")
.baseUnit("tasks")
.register(registry);

Gauge.builder("executor.pool.size", tp, ThreadPoolExecutor::getPoolSize)
Expand Down

0 comments on commit b89dda5

Please sign in to comment.