use case: * i have baseline-based alert definitions setup across my inventory * something happens in my enterprise which causes me to change a configuration, which alters metrics coming out of some service * these new metrics begin firing lots and lots of alerts incorrectly the problem: * if the baselines had been recalculated given the new/recent data, they would realize that the old baseline no long applies because the metrics have a different range now the solution: * allow baselines to be set manually using a custom range of data (this is possible today across a single measurement schedule at a time, but needs to be supported across a group of resources to be really useful)
i believe most of the code for this already exists at the SLSB layer, just need to extend the UI logic in the singleMetricSingleResource case to the singleMetricMultipleResource case.
rev4373 - ability to set manual baselines across a resourceGroup at the same time;
when you navigate to a large metric chart for a group you'll now see the "Metric Baseline & Expected Range" section, just as you do for single resources. i made sure there was feature parity with the setting of baselines at the resource level, which means: * when you first navigate to the page, if NO baselines for the given metric have been calculated in the group, a standard "No value yet" error message will be displayed * you can click change value for a baseline mean, it will calculate the baseline mean by taking the average value over the given display range; it will then let you accept that value or cancel it; if you want it to calculate a different value, you need to change the values for your metric display range - note: setting the baseline mean will also recalculate the min and max * you can click change values for a baseline max, it will give you an editable box, and you can set the max to whatever you want or cancel * you can click change values for a baseline min, it will give you an editable box, and you can set the min to whatever you want or cancel additional features for groups only: * if the members of the group have different baseline values for the given metric, it will display "Multiple Values"; if all values in the group for the given baselines are identical, it will display that value
Was able to set baselines on individual resource by setting it on the group. Changed a value of an individual and saw "multiple values" on the group. rev4650
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2167
Mass move to component = Monitoring