{"push_id":819972383,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"a6d5ac99ae4cf33506ab893853ffbc8b09079bdc","before":"c71df66e5fab24c779482fd30f6ad2f9064a53c5","commits":[{"sha":"933311a72bd3085821062679d346b1242d757d47","author":{"email":"ae61934d2e3f3262949a4c32a5be60ddfa210f4c@mirantis.com","name":"Swann Croiset"},"message":"Add the AFD framework for threshold alarms\n\nThis patch provides Lua libraries to evaluate metrics against thresholds.\nThe AFD evaluates a list of alarms, with an alarm defined like the\nfollowing:\n\nname: 'fs-warning'\ndescription: 'Filesystem usage'\nseverity: 'warning'\ntrigger:\n  logical_operator: 'or'\n  rules:\n    - metric: fs_space_percent_free\n      fields:\n        fs: '*'\n      relational_operator: '<'\n      threshold: 5\n      window: 60\n      period: 1\n      function: avg\n\nwhere:\n- *name* is required and must be unique,\n- *description* is required,\n- *severity* is one of 'okay', 'warning', 'critical', 'down', 'unknown'\n- *logical_operator* optional (can be 'or' or 'and', default 'or')\n- *metric*, *relational_operator*, *threshold*, *window* and *function*\n  are required,\n- *fields* is optional\n\nThe AFD evaluates alarms in specified order and stop evaluation at\nthe first triggered alarm.\n\nThis implementation doesn't fully support all the specification, the\ncurrent limitation are:\n\n - aggregation functions supported are: max, min, avg, sum, sd and variance and\n   these ones are not: last, median, mww, mww_nonparametric.\n - *periods* rules parameter is supported for these functions in the sense that\n   thresholds are compared on the entire interval \"window * periods\" but\n   not compared between each period. In other words: it's equivalent\n   to write a rule with 'window=300/periods=1|0' and 'window=100/periods=3'.\n\nChange-Id: Ia739ceb080971e3b7bb5a2212275d2a15d65d3e9","distinct":true,"url":"https://api.github.com/repos/stackforge/fuel-plugin-lma-collector/commits/933311a72bd3085821062679d346b1242d757d47"},{"sha":"a6d5ac99ae4cf33506ab893853ffbc8b09079bdc","author":{"email":"d95b56ce41a2e1ac4cecdd398defd7414407cc08@review.openstack.org","name":"Jenkins"},"message":"Merge \"Add the AFD framework for threshold alarms\"","distinct":true,"url":"https://api.github.com/repos/stackforge/fuel-plugin-lma-collector/commits/a6d5ac99ae4cf33506ab893853ffbc8b09079bdc"}]}