Class Index | File Index

Classes


Namespace metricsTemplates

provides access to metric templates
Defined in: rhqapi.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
metricsTemplates.disable(resTypes, filter)
disables metrics
<static>  
metricsTemplates.enable(resTypes, filter)
enables metrics
<static>  
metricsTemplates.setCollectionInterval(resTypes, interval, filter)
sets collection interval for metrics
Namespace Detail
metricsTemplates
Method Detail
<static> metricsTemplates.disable(resTypes, filter)
disables metrics
metricsTemplates.disable(resourceTypes.find({name: "server-b", plugin: "PerfTest"}), metricTemplates.predicates.isCallTime);
metricsTemplates.disable(resourceTypes.find());
Parameters:
{ResourceType[]} resTypes
- resource types, see resourceTypes.find
filter
- filter function - see metricsTemplates.predicates

<static> metricsTemplates.enable(resTypes, filter)
enables metrics
metricsTemplates.enable(resourceTypes.find({name: "server-b", plugin: "PerfTest"}), metricTemplates.predicates.isCallTime);
metricsTemplates.enable(resourceTypes.find());
Parameters:
{ResourceType[]} resTypes
- resource types, see resourceTypes.find
filter
- filter function - see metricsTemplates.predicates

<static> metricsTemplates.setCollectionInterval(resTypes, interval, filter)
sets collection interval for metrics
metricsTemplates.setCollectionInterval(resourceTypes.find({name: "server-b", plugin: "PerfTest"}), 30, metricTemplates.predicates.isCallTime);
Parameters:
{ResourceType[]} resTypes
- resource types, see resourceTypes.find
interval
- collection interval in seconds
filter
- filter function - see metricsTemplates.predicates

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jan 06 2014 16:48:32 GMT+0100 (CET)