Skip to content

Commit 9cea60c

Browse files
author
Jarret Lavallee
committed
Add PuppetDB Jetty thread metrics
Prior to this commit, there were no metrics around the jetty thread pool. This commit adds additional metrics to collect the jetty queuedthreadpool metrics. This allows for looking at the jetty thread usage in PuppetDB.
1 parent 2adeb95 commit 9cea60c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

manifests/service/puppetdb.pp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@
7272
'type' => 'read',
7373
'name' => 'global_concurrent-depth',
7474
'mbean' => 'puppetlabs.puppetdb.mq:name=global.concurrent-depth'
75+
},
76+
{
77+
'type' => 'read',
78+
'name' => 'jetty-queuedthreadpool',
79+
'mbean' => 'org.eclipse.jetty.util.thread:id=*,type=queuedthreadpool'
7580
}
7681
]
7782

0 commit comments

Comments
 (0)