Support composite rules alarm and deprecate combination alarm

Registered by Liusheng

Currently, the combination alarm evaluation process have some potential problems. in blueprint [1], ZhiQiang Fan has described 3 main problems, And he has done some efforts to solve this these problem,
but the change is complex, and there are some reason that proposal is hard to address the problems. The main point need to be considered is how the change works PartitionCoordinator.

It would better to propose a new type alarm that can be attached multiple evaluation rules. the composite-rules-alarm allow users create alarms with specifying multiple rules combined by logical operators, for i.e. we can create an alarm that will alarm when: *mem_util>=0.9* OR *cpu_util>=0.9*.
The conveniences of this proposal are:
 - The triggering condition of alarm based on multiple statistics is visualized. Unlike the combination alarm which we need to get the dependent alarms to know the triggering condition.
 - Can avoid the 3 problems described by ZhiQiang Fan in the blueprint[1]
 - this proposal will make alarms easier to manage because it will reduce the amount of alarms.

[1] https://blueprints.launchpad.net/ceilometer/+spec/resolve-combination-alarm-dependency-chain

Blueprint information

Status:
Complete
Approver:
gordon chung
Priority:
Undefined
Drafter:
Liusheng
Direction:
Needs approval
Assignee:
Liusheng
Definition:
Approved
Series goal:
Accepted for mitaka
Implementation:
Implemented
Milestone target:
None
Started by
gordon chung
Completed by
Liusheng

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/composite-threshold-rule-alarm,n,z

Addressed by: https://review.openstack.org/208786
    Support composite threshold rule alarm

Addressed by: https://review.openstack.org/257722
    Add composite rule alarm API support

Addressed by: https://review.openstack.org/261226
    Add composite rule alarm evaluator

Addressed by: https://review.openstack.org/280121
    Add composite alarm usage description

Addressed by: https://review.openstack.org/284505
    Add releasenote for composite alarm feature

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.