SYNAXON / GraphiteReceiver

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

BUG: GraphiteReceiver overwrites values on instantiated counters #5

Closed toni-moreno closed 9 years ago

toni-moreno commented 9 years ago

After add some debug lines to the code you are putting to graphite the next value

esxtest.hostname00_domain_com.disk.busResets.summation_number 0 1426251660

But debugging you are getting indeed this this value from one instance. ( naa.60060e80164e8b0000014e8b0000204a) and you are not setting it in the metric path. So for each instance you are sending the same metric name overwritting previous instance values.

8991 [Thread-7] DEBUG de.synaxon.graphitereceiver.MetricsReceiver  - ENTITY NAME: [vCenter]hostname00_domain_com[HostSystem]COUNTER NAME:disk.busResets.summation
8992 [Thread-7] DEBUG de.synaxon.graphitereceiver.MetricsReceiver  - MOREF :host-601 INSTANCE ID :naa.60060e80164e8b0000014e8b0000204a string :com.vmware.ee.statsfeeder.PerfMetricSet@965162b