-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Use Case
I'm currently debugging pcp-agent<>puppetserver connection problems with Puppet Engineers for a customer. I noticed that there is a metric for the amount of open PCP connections, but no related dashboard. Having that would help a lot to identify overloaded puppetservers / uneven loadbalancing of PCP connections. I used:
curl --cert $(puppet config print hostcert) --key $(puppet config print hostprivkey) --cacert $(puppet config print localcacert) https://$(hostname -f):8140/metrics/v2/read/default:name=puppetlabs.pcp.connections --silent | jq '.value[]'
Describe the Solution You Would Like
A dashboard that tracks a connection counter over time
Describe Alternatives You've Considered
Customer has other monitoring soltutions where we could implement this, but I think such a panel would be really helpful for other users as well.
Additional Context
I'm not 100% sure if default:name=puppetlabs.pcp.connections
gives the amount of current open connections, but I think so. I didn't find any good documentation about the JMX/Jolokia metrics
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request