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 603 forks source link

network collector: vlan interfaces with dots #66

Open agaoglu opened 9 years ago

agaoglu commented 9 years ago

Some of our servers use 8021q vlan interfaces and are named like eth2.23

These create metrics such as

servers.server1.network.eth2.23.rx_byte
servers.server1.network.eth2.23.tx_byte
servers.server1.network.eth2.rx_byte
servers.server1.network.eth2.tx_byte

causing metric path structure to change. It'd be better if the dot was replaced with something like _.

josegonzalez commented 9 years ago

There was an issue raised in the old repo regarding this, let me see if I can find it...

shortdudey123 commented 7 years ago

Waiting for tests to be added in https://github.com/python-diamond/Diamond/pull/507