I have the following metric defined for one of my services:
<metric property="TotalRequestsErrored" displayName="Total errors since startup" displayType="summary" defaultOn="true" category="throughput" dataType="measurement" measurementType="trendsup" defaultInterval="30000" />
I recently added measurementType="trendsup" as I wanted to track this on a per-minute basis. However, I have some existing alert definitions that want to track this on a per-change basis. By adding the measurementType="trendsup", RHQ creates a new "per Minute" metric but disables schedule for the raw count by default.
Is there a way to get both by changing the rhq-plugin.xml?
On 27 Oct 2015, at 20:35, Ken Hancock wrote:
I have the following metric defined for one of my services:
<metric property="TotalRequestsErrored" displayName="Total errors since startup" displayType="summary" defaultOn="true" category="throughput" dataType="measurement" measurementType="trendsup" defaultInterval="30000" />
I recently added measurementType="trendsup" as I wanted to track this on a per-minute basis. However, I have some existing alert definitions that want to track this on a per-change basis. By adding the measurementType="trendsup", RHQ creates a new "per Minute" metric but disables schedule for the raw count by default.
Is there a way to get both by changing the rhq-plugin.xml?
I think the disabling of the raw data is done in code, so overrides the plugin descriptor. You can still just enable it in the UI and use it though.
Heiko
rhq-users@lists.stg.fedorahosted.org