Skip to content

Commit 2953f31

Browse files
author
Jarret Lavallee
committed
Add concurrent-depth to PuppetDB metrics
This commit adds the global.concurrent-depth mbean to the PuppetDB metrics. The concurrent-depth shows the queue depth of the pending command writes to disk.
1 parent c8c27a2 commit 2953f31

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
@@ -67,6 +67,11 @@
6767
'type' => 'read',
6868
'name' => 'global_processing-time',
6969
'mbean' => 'puppetlabs.puppetdb.mq:name=global.processing-time'
70+
},
71+
{
72+
'type' => 'read',
73+
'name' => 'global_concurrent-depth',
74+
'mbean' => 'puppetlabs.puppetdb.mq:name=global.concurrent-depth'
7075
}
7176
]
7277

0 commit comments

Comments
 (0)