)]}'
{"specs/mitaka/composite-threshold-rule-alarm.rst":[{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"459eae73579d090e1a7526f398907bd8e228aed3","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    {"},{"line_number":53,"context_line":"        ...."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        \"threshold_rules\": [{"},{"line_number":56,"context_line":"            \"meter_name\": \"cpu_util\","},{"line_number":57,"context_line":"            \"evaluation_periods\": 1,"},{"line_number":58,"context_line":"            \"period\": 60,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba15a1d1_2e9a0a64","line":55,"updated":"2015-09-16 08:28:48.000000000","message":"What about gnocchi threshold rules and event rules ?\n\nWhat about combination of a gnocchi_resources_threshold and a gnocchi_aggregation_by_metrics_threshold for example ?","commit_id":"3893c1498add6a82682009acf89b8dd991f8d4be"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"459eae73579d090e1a7526f398907bd8e228aed3","unresolved":false,"context_lines":[{"line_number":80,"context_line":"            \"comparison_operator\": \"ge\","},{"line_number":81,"context_line":"            \"exclude_outliers\": false"},{"line_number":82,"context_line":"        }]"},{"line_number":83,"context_line":"        \"threshold_rules_ops\": [\u0027or\u0027]"},{"line_number":84,"context_line":"        \"description\": \"Alarm when cpu_util is ge a avg of 0.8 over 60 seconds OR"},{"line_number":85,"context_line":"                        Alarm when mem_util is ge a avg of 0.8 over 60 seconds\""},{"line_number":86,"context_line":"    }"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba15a1d1_ce1caec3","line":83,"updated":"2015-09-16 08:28:48.000000000","message":"This doesn\u0027t allow to create complex rules (mix of OR and AND with some of them grouped)\n\nWhy not having rules like that:\n\n{\u0027and\u0027: [{\u0027or\u0027: [{\"meter_name\": \"cpu_util\", ...}, {\"meter_name\": \"cpu_util\", ...}], {\"meter_name\": \"mem_util\", ...}, ...]","commit_id":"3893c1498add6a82682009acf89b8dd991f8d4be"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"cc202430402af2567824aae9c391bf372b2d08da","unresolved":false,"context_lines":[{"line_number":80,"context_line":"            \"comparison_operator\": \"ge\","},{"line_number":81,"context_line":"            \"exclude_outliers\": false"},{"line_number":82,"context_line":"        }]"},{"line_number":83,"context_line":"        \"threshold_rules_ops\": [\u0027or\u0027]"},{"line_number":84,"context_line":"        \"description\": \"Alarm when cpu_util is ge a avg of 0.8 over 60 seconds OR"},{"line_number":85,"context_line":"                        Alarm when mem_util is ge a avg of 0.8 over 60 seconds\""},{"line_number":86,"context_line":"    }"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a26ad4f_1d3a3c37","line":83,"in_reply_to":"ba15a1d1_ce1caec3","updated":"2015-10-28 02:40:44.000000000","message":"+1, like we do in complex queries.","commit_id":"3893c1498add6a82682009acf89b8dd991f8d4be"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"459eae73579d090e1a7526f398907bd8e228aed3","unresolved":false,"context_lines":[{"line_number":186,"context_line":"Future lifecycle"},{"line_number":187,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"Deprecate the combination alarm and provide a tool for converting the"},{"line_number":190,"context_line":"combination alarms to composite rules threshold alarms."},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba15a1d1_2eac4a9f","line":189,"updated":"2015-09-16 08:28:48.000000000","message":"What about combination all gnocchi alarms rules and event alarms rules  ?","commit_id":"3893c1498add6a82682009acf89b8dd991f8d4be"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"952a62fbbe53f829caa92c225349dbdb6e2ec840","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    {"},{"line_number":53,"context_line":"        ......"},{"line_number":54,"context_line":"        \"threshold_rules\": {"},{"line_number":55,"context_line":"            \"or\": [{"},{"line_number":56,"context_line":"                \"meter_name\": \"cpu_util\","},{"line_number":57,"context_line":"                \"evaluation_periods\": 1,"},{"line_number":58,"context_line":"                \"period\": 60,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba8a016a_33412eaa","line":55,"updated":"2015-11-17 20:52:58.000000000","message":"how does this work if OR and AND are top level attributes? should we not support more flexibility to place AND and OR anywhere like complex query?","commit_id":"a8feb6363a144ad48a1e5faf4b6dcfb2afabfd40"},{"author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"change_message_id":"e690b5a84b2b09716f289d9f60fce2ea73a2d0c9","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    {"},{"line_number":53,"context_line":"        ......"},{"line_number":54,"context_line":"        \"threshold_rules\": {"},{"line_number":55,"context_line":"            \"or\": [{"},{"line_number":56,"context_line":"                \"meter_name\": \"cpu_util\","},{"line_number":57,"context_line":"                \"evaluation_periods\": 1,"},{"line_number":58,"context_line":"                \"period\": 60,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba8a016a_5664cb20","line":55,"in_reply_to":"ba8a016a_33412eaa","updated":"2015-11-18 08:27:31.000000000","message":"according this example, the OR and AND can place anywhere to combine a list of rules, like the complex query, sorry, I am not quite sure about your question  :-)","commit_id":"a8feb6363a144ad48a1e5faf4b6dcfb2afabfd40"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"a7e74b4017a44672093febb65f941e1dc9dc1ac3","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    {"},{"line_number":53,"context_line":"        ......"},{"line_number":54,"context_line":"        \"threshold_rules\": {"},{"line_number":55,"context_line":"            \"or\": [{"},{"line_number":56,"context_line":"                \"meter_name\": \"cpu_util\","},{"line_number":57,"context_line":"                \"evaluation_periods\": 1,"},{"line_number":58,"context_line":"                \"period\": 60,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba8a016a_b30b7723","line":55,"in_reply_to":"ba8a016a_5664cb20","updated":"2015-11-19 14:04:59.000000000","message":"ah, got it.","commit_id":"a8feb6363a144ad48a1e5faf4b6dcfb2afabfd40"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"e1d2d766eccaff02b624b391ebdeaba7231932ba","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        ......"},{"line_number":54,"context_line":"        \"threshold_rules\": {"},{"line_number":55,"context_line":"            \"or\": [{"},{"line_number":56,"context_line":"                \"meter_name\": \"cpu_util\","},{"line_number":57,"context_line":"                \"evaluation_periods\": 1,"},{"line_number":58,"context_line":"                \"period\": 60,"},{"line_number":59,"context_line":"                \"statistic\": \"avg\","}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba8a016a_ea7432fe","line":56,"updated":"2015-11-17 09:50:52.000000000","message":"I guess a \u0027type\u0027 or \u0027plugin\u0027 attribute is missing here to select the kind of threshold alarms, the ceilometer one or one of the gnocchi ones.","commit_id":"a8feb6363a144ad48a1e5faf4b6dcfb2afabfd40"},{"author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"change_message_id":"e690b5a84b2b09716f289d9f60fce2ea73a2d0c9","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        ......"},{"line_number":54,"context_line":"        \"threshold_rules\": {"},{"line_number":55,"context_line":"            \"or\": [{"},{"line_number":56,"context_line":"                \"meter_name\": \"cpu_util\","},{"line_number":57,"context_line":"                \"evaluation_periods\": 1,"},{"line_number":58,"context_line":"                \"period\": 60,"},{"line_number":59,"context_line":"                \"statistic\": \"avg\","}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba8a016a_96c5533d","line":56,"in_reply_to":"ba8a016a_ea7432fe","updated":"2015-11-18 08:27:31.000000000","message":"thanks, will add in next ps","commit_id":"a8feb6363a144ad48a1e5faf4b6dcfb2afabfd40"},{"author":{"_account_id":4491,"name":"Lianhao Lu","email":"llh_misc@outlook.com","username":"lianhao-lu"},"change_message_id":"3bbdfca8c56a849a4b9c508ada753ded2b3734a4","unresolved":false,"context_lines":[{"line_number":95,"context_line":"                    \"comparison_operator\": \"ge\","},{"line_number":96,"context_line":"                    \"exclude_outliers\": false"},{"line_number":97,"context_line":"                }]"},{"line_number":98,"context_line":"            }"},{"line_number":99,"context_line":"        }"},{"line_number":100,"context_line":"    }"},{"line_number":101,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba8a016a_7047a177","line":98,"updated":"2015-11-23 21:48:55.000000000","message":"I guess you missed a closing \u0027]\u0027 here for \u0027or\u0027 operator","commit_id":"a8feb6363a144ad48a1e5faf4b6dcfb2afabfd40"},{"author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"change_message_id":"b5d4b79d8f30d8099ee3e8c9886fc437f01479d1","unresolved":false,"context_lines":[{"line_number":95,"context_line":"                    \"comparison_operator\": \"ge\","},{"line_number":96,"context_line":"                    \"exclude_outliers\": false"},{"line_number":97,"context_line":"                }]"},{"line_number":98,"context_line":"            }"},{"line_number":99,"context_line":"        }"},{"line_number":100,"context_line":"    }"},{"line_number":101,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba8a016a_6bd32f39","line":98,"in_reply_to":"ba8a016a_7047a177","updated":"2015-11-24 02:34:52.000000000","message":"Done","commit_id":"a8feb6363a144ad48a1e5faf4b6dcfb2afabfd40"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"952a62fbbe53f829caa92c225349dbdb6e2ec840","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"* Allow specifying a list of threshold rules and the threshold rules combined"},{"line_number":105,"context_line":"  with two logical operator: \"and\", \"or\", see the above example. The"},{"line_number":106,"context_line":"  combination of threshold rules can be mult-hierarchy to support complex"},{"line_number":107,"context_line":"  scenario."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* Alarm evaluator will resolve the alarm threshold rules combined with"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba8a016a_739a5665","line":106,"range":{"start_line":106,"start_character":40,"end_line":106,"end_character":44},"updated":"2015-11-17 20:52:58.000000000","message":"s/mult/multi/","commit_id":"a8feb6363a144ad48a1e5faf4b6dcfb2afabfd40"},{"author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"change_message_id":"b5d4b79d8f30d8099ee3e8c9886fc437f01479d1","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"* Allow specifying a list of threshold rules and the threshold rules combined"},{"line_number":105,"context_line":"  with two logical operator: \"and\", \"or\", see the above example. The"},{"line_number":106,"context_line":"  combination of threshold rules can be mult-hierarchy to support complex"},{"line_number":107,"context_line":"  scenario."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* Alarm evaluator will resolve the alarm threshold rules combined with"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba8a016a_1db426f0","line":106,"in_reply_to":"ba8a016a_739a5665","updated":"2015-11-24 02:34:52.000000000","message":"Done","commit_id":"a8feb6363a144ad48a1e5faf4b6dcfb2afabfd40"},{"author":{"_account_id":4491,"name":"Lianhao Lu","email":"llh_misc@outlook.com","username":"lianhao-lu"},"change_message_id":"3bbdfca8c56a849a4b9c508ada753ded2b3734a4","unresolved":false,"context_lines":[{"line_number":104,"context_line":"* Allow specifying a list of threshold rules and the threshold rules combined"},{"line_number":105,"context_line":"  with two logical operator: \"and\", \"or\", see the above example. The"},{"line_number":106,"context_line":"  combination of threshold rules can be mult-hierarchy to support complex"},{"line_number":107,"context_line":"  scenario."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* Alarm evaluator will resolve the alarm threshold rules combined with"},{"line_number":110,"context_line":"  operators, and evaluate the threshold condition with statistics list queried"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba8a016a_107895c3","line":107,"updated":"2015-11-23 21:48:55.000000000","message":"So the top level element must be an \u0027OR\u0027 or \u0027AND\u0027, right? because the above example shows me \u0027alarm if 1 or (2 and 3)\u0027. It\u0027s not allowed to have multiple  top level \u0027OR\u0027/\u0027AND\u0027. Is my understanding right?","commit_id":"a8feb6363a144ad48a1e5faf4b6dcfb2afabfd40"},{"author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"change_message_id":"b5d4b79d8f30d8099ee3e8c9886fc437f01479d1","unresolved":false,"context_lines":[{"line_number":104,"context_line":"* Allow specifying a list of threshold rules and the threshold rules combined"},{"line_number":105,"context_line":"  with two logical operator: \"and\", \"or\", see the above example. The"},{"line_number":106,"context_line":"  combination of threshold rules can be mult-hierarchy to support complex"},{"line_number":107,"context_line":"  scenario."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* Alarm evaluator will resolve the alarm threshold rules combined with"},{"line_number":110,"context_line":"  operators, and evaluate the threshold condition with statistics list queried"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba8a016a_1d82e600","line":107,"in_reply_to":"ba8a016a_107895c3","updated":"2015-11-24 02:34:52.000000000","message":"yes, I don\u0027t think it is reasonable to have multiple top level \"OR\"/\"AND\" :(, it is looks like a logical expression, a list of sub-expressions combined with \"OR\"/\"AND\", and support  a nested structure.","commit_id":"a8feb6363a144ad48a1e5faf4b6dcfb2afabfd40"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"952a62fbbe53f829caa92c225349dbdb6e2ec840","unresolved":false,"context_lines":[{"line_number":220,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"* The exist declarative tests and new tests with gabbi should be changed/added"},{"line_number":223,"context_line":"  to test the alarm CURD actions."},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"* Unit tests should be added for new threshold evaluator process."},{"line_number":226,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba8a016a_5392b258","line":223,"updated":"2015-11-17 20:52:58.000000000","message":"CRUD","commit_id":"a8feb6363a144ad48a1e5faf4b6dcfb2afabfd40"}]}
