VMware Cloud Community
davidk_hyperic
Contributor
Contributor

Metrics: changing units after plugin is deployed

Greetings,

I am having difficult time switching units to/from seconds and milliseconds. For example:

<metric name="Search : Average Last 5 Minutes"
category="THROUGHPUT"
template="${template}:search-avg"
indicator="true"
collectionType="dynamic"
units="ms"
/>

shows up as:

Search : Average Last 5 Minutes 983.2 1,364.6 2,005.3 1,648.4

---

Is there a way to present this stat in time-friendly manner?

Thank you,

David
0 Kudos
1 Reply
jvalkeal_hyperi

I've also had some problems to define correct units once plugin is deployed. I don't know how it actually works, but it seems that once plugin is deployed changing units don't have any affect. Well I guess this is not something what will happen all the time, but clearly it is a problem. I never found a test case to reproduce this issue.

Do you remember what unit where defined when plugin was deployed first time? I believe you didn't have anything and then HQ is just showing numbers. I guess solution is to remove the plugin and deploy it again. Unfortunately just removing the plugin wont completely destroy all the traces from database.

Marty posted some instruction howto completely remove the plugin:
http://communities.vmware.com/message/1937550#1937550

I've used these instruction, just make sure to be careful. After this you should get correct metrics when plugin is deployed. Hope this helps...
0 Kudos