SYNAXON / GraphiteReceiver

A vmware statsfeeder receiver to export the stats directly into graphite.
Apache License 2.0
20 stars 7 forks source link

[Feature Request] Create custom metric prefix/suffix tree for VM's metrics #23

Closed toni-moreno closed 8 years ago

toni-moreno commented 9 years ago

would be really useful if for each VM we can map a custom prefix ( in most of our graphite infrastructure servers are organized under a custom organization tree.

Supose we organize servers under this metric tree.

<group>.<datacenter>.<server_type>.<hostname>.<product>.<metrics>

By example:

sales.datacenter1.bbdd.dbspro01.linux.cpu-wait
sales.datacenter1.bbdd.dbspro01.apache.hits
sales.datacenter1.bbdd.dbspro01.apache.response_time

We would like to join other products metrics with VM metrics under the same tree server tree, like follows, with custom suffix "vm"

sales.datacender1.bbdd.dbspro01.vm.cpu.usagemhz_megaHertz_average

In this case we will need a map file with all server / prefix/ suffix in this way

#entityName;custom_prefix;custom_suffix
dbspro01;sales.datacender1.bbdd;vm;
dbspro02;sales.datacender1.bbdd;vm;
dbmpro01;mkt.datacenter2.bbdd;vm.contingency;

This new feature should be enabled / disabled and only will apply to VirtualMachine EntityTypes

toni-moreno commented 8 years ago

We can close now this issue!! thank you very much @cosm0s !!