python-diamond / Diamond

Diamond is a python daemon that collects system metrics and publishes them to Graphite (and others). It is capable of collecting cpu, memory, network, i/o, load and disk metrics. Additionally, it features an API for implementing custom collectors for gathering metrics from almost any source.
http://diamond.readthedocs.org/
MIT License
1.74k stars 599 forks source link

VM metric collector config question #728

Open matt-north-sl opened 5 years ago

matt-north-sl commented 5 years ago

Hi all,

I'm trying to configure a LibvirtKVM collector to send stats to a path including the hypervisor hostname (e.g. hosts.server12.instances.) Is this possible, maybe by building the path_prefix then passing that variable into the instance_prefix, or some other method? I've tried a few variable substitutions but no joy so far.

shortdudey123 commented 2 years ago

Does #481 look like it would solve your issue?