Project

General

Profile

« Previous | Next » 

Revision 05a72fe2

Added by Ken McDonell over 15 years ago

  • ID 05a72fe257ba45918dd38e9e9a65ba2a1786b258

Add __pmSetClientId() and pmcd.client.* metrics

These changes allow clients of pmcd to register their own id string
which is then exported via pmcd.client.whoami.

Currently pmie and pmlogger are the only clients using this, to
produce identification strings like this ...

pmcd.client.whoami
inst [1 or "1"] value "bozo-laptop.localdomain (127.0.1.1) pmlogger
-P -c config.default 20090427.08.05"
inst [44 or "44"] value "bozo-laptop.localdomain (127.0.1.1) pmie -b
-h bozo-laptop -l /var/log/pcp/pmie/bozo-laptop/pmie.log
-c config.default"

  • added
  • modified
  • copied
  • renamed
  • deleted