)]}'
{"docs/monasca-api-spec.md":[{"author":{"_account_id":2419,"name":"Roland Hochmuth","email":"roland.hochmuth@hpe.com","username":"roland-hochmuth-s"},"change_message_id":"0f55fb5a4a439f27a43f3b5d1addee9500dc4ccf","unresolved":false,"context_lines":[{"line_number":360,"context_line":""},{"line_number":361,"context_line":"Alarm Definition 1 has an expression of `avg(cpu.idle_perc{service\u003dmonitoring}) \u003c 20` and the match_by parameter is not set.  Alarm Definition 2 has an expression of `min(cpu.idle_perc{service\u003dmonitoring}) \u003c 10` and the match_by parameter is set to `hostname`."},{"line_number":362,"context_line":""},{"line_number":363,"context_line":"When the a measurement for the metric cpu.idle_perc{service\u003dmonitoring,hostname\u003dmini-mon} is first received after the Metric Definitions have been created, an Alarm is created for both Alarm Definitions. The metric is added to both Alarms. The following set of Alarm Definitions and Alarm would exist:"},{"line_number":364,"context_line":""},{"line_number":365,"context_line":"Alarm Definition 1:"},{"line_number":366,"context_line":"```"}],"source_content_type":"text/x-markdown","patch_set":1,"id":"da85f559_667bd42a","line":363,"updated":"2015-11-12 22:09:28.000000000","message":"\"the a\" \u003d\u003e \"a\"","commit_id":"cac3714f71af0c854c24397158baaa8c6dc270b6"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"f4bc8fbf1e00776943ed71d8e6fb56600fa4b72a","unresolved":false,"context_lines":[{"line_number":360,"context_line":""},{"line_number":361,"context_line":"Alarm Definition 1 has an expression of `avg(cpu.idle_perc{service\u003dmonitoring}) \u003c 20` and the match_by parameter is not set.  Alarm Definition 2 has an expression of `min(cpu.idle_perc{service\u003dmonitoring}) \u003c 10` and the match_by parameter is set to `hostname`."},{"line_number":362,"context_line":""},{"line_number":363,"context_line":"When the a measurement for the metric cpu.idle_perc{service\u003dmonitoring,hostname\u003dmini-mon} is first received after the Metric Definitions have been created, an Alarm is created for both Alarm Definitions. The metric is added to both Alarms. The following set of Alarm Definitions and Alarm would exist:"},{"line_number":364,"context_line":""},{"line_number":365,"context_line":"Alarm Definition 1:"},{"line_number":366,"context_line":"```"}],"source_content_type":"text/x-markdown","patch_set":1,"id":"9a8ffd7b_bec9ae5c","line":363,"in_reply_to":"da85f559_667bd42a","updated":"2015-11-30 21:53:20.000000000","message":"Done","commit_id":"cac3714f71af0c854c24397158baaa8c6dc270b6"},{"author":{"_account_id":2419,"name":"Roland Hochmuth","email":"roland.hochmuth@hpe.com","username":"roland-hochmuth-s"},"change_message_id":"0f55fb5a4a439f27a43f3b5d1addee9500dc4ccf","unresolved":false,"context_lines":[{"line_number":372,"context_line":"Alarm 1 - Metrics: cpu.idle_perc{service\u003dmonitoring,hostname\u003dmini-mon}"},{"line_number":373,"context_line":"```"},{"line_number":374,"context_line":""},{"line_number":375,"context_line":"Now, when the a measurement for the metric cpu.idle_perc{service\u003dmonitoring,hostname\u003ddevstack} is received, the two Alarm Definitions define different behaviors. Since the value for the hostname dimension is different from the value for the existing Alarm from Alarm Definition 2, and Alarm Definition 2 has specified a match_by parameter on `hostname`, a new Alarm will be created.  Alarm Definition 1 does not have a value for match_by, so this metric is added to the existing Alarm. This gives us the following set of Alarm Definitions and Alarms:"},{"line_number":376,"context_line":""},{"line_number":377,"context_line":"Alarm Definition 1:"},{"line_number":378,"context_line":"```"}],"source_content_type":"text/x-markdown","patch_set":1,"id":"da85f559_a6977c39","line":375,"updated":"2015-11-12 22:09:28.000000000","message":"\"the a\" \u003d\u003e \"a\"","commit_id":"cac3714f71af0c854c24397158baaa8c6dc270b6"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"f4bc8fbf1e00776943ed71d8e6fb56600fa4b72a","unresolved":false,"context_lines":[{"line_number":372,"context_line":"Alarm 1 - Metrics: cpu.idle_perc{service\u003dmonitoring,hostname\u003dmini-mon}"},{"line_number":373,"context_line":"```"},{"line_number":374,"context_line":""},{"line_number":375,"context_line":"Now, when the a measurement for the metric cpu.idle_perc{service\u003dmonitoring,hostname\u003ddevstack} is received, the two Alarm Definitions define different behaviors. Since the value for the hostname dimension is different from the value for the existing Alarm from Alarm Definition 2, and Alarm Definition 2 has specified a match_by parameter on `hostname`, a new Alarm will be created.  Alarm Definition 1 does not have a value for match_by, so this metric is added to the existing Alarm. This gives us the following set of Alarm Definitions and Alarms:"},{"line_number":376,"context_line":""},{"line_number":377,"context_line":"Alarm Definition 1:"},{"line_number":378,"context_line":"```"}],"source_content_type":"text/x-markdown","patch_set":1,"id":"9a8ffd7b_3edcde17","line":375,"in_reply_to":"da85f559_a6977c39","updated":"2015-11-30 21:53:20.000000000","message":"Done","commit_id":"cac3714f71af0c854c24397158baaa8c6dc270b6"},{"author":{"_account_id":14517,"name":"Ryan Brandt","email":"ryan.brandt@hpe.com","username":"ryan-brandt"},"change_message_id":"4dba637a74442a77ac0aa19fbc8e86ada676afc6","unresolved":false,"context_lines":[{"line_number":424,"context_line":""},{"line_number":425,"context_line":"This metric does not have the service\u003dmonitoring dimension, so it will not match the Alarm Definition and no Alarm will be created or metric added to an existing alarm."},{"line_number":426,"context_line":""},{"line_number":427,"context_line":"An Alarm will only get created when measurements for metrics are seen that match all subexpressions in the Alarm Definition.  If match_by is set, then each metric must have a value for at least one of the values in match_by. If match_by is not set, only one Alarm will be created for an Alarm Definition."},{"line_number":428,"context_line":""},{"line_number":429,"context_line":"The value of the match_by parameter can also be a list, for example, `hostname,device`. In that case, Alarms will be created and metrics added based on all values of match_by."},{"line_number":430,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":1,"id":"9a8ffd7b_22cb7320","line":427,"updated":"2015-11-30 16:32:21.000000000","message":"Seems like \"measurements are seen for metrics that match\" would be easier to read.","commit_id":"cac3714f71af0c854c24397158baaa8c6dc270b6"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"f4bc8fbf1e00776943ed71d8e6fb56600fa4b72a","unresolved":false,"context_lines":[{"line_number":424,"context_line":""},{"line_number":425,"context_line":"This metric does not have the service\u003dmonitoring dimension, so it will not match the Alarm Definition and no Alarm will be created or metric added to an existing alarm."},{"line_number":426,"context_line":""},{"line_number":427,"context_line":"An Alarm will only get created when measurements for metrics are seen that match all subexpressions in the Alarm Definition.  If match_by is set, then each metric must have a value for at least one of the values in match_by. If match_by is not set, only one Alarm will be created for an Alarm Definition."},{"line_number":428,"context_line":""},{"line_number":429,"context_line":"The value of the match_by parameter can also be a list, for example, `hostname,device`. In that case, Alarms will be created and metrics added based on all values of match_by."},{"line_number":430,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":1,"id":"9a8ffd7b_fefc1674","line":427,"in_reply_to":"9a8ffd7b_22cb7320","updated":"2015-11-30 21:53:20.000000000","message":"Done","commit_id":"cac3714f71af0c854c24397158baaa8c6dc270b6"},{"author":{"_account_id":14517,"name":"Ryan Brandt","email":"ryan.brandt@hpe.com","username":"ryan-brandt"},"change_message_id":"4dba637a74442a77ac0aa19fbc8e86ada676afc6","unresolved":false,"context_lines":[{"line_number":460,"context_line":""},{"line_number":461,"context_line":"Alarms have a state that is set by the Threshold Engine based on the incoming measurements."},{"line_number":462,"context_line":""},{"line_number":463,"context_line":"* UNDETERMINED - No measurements for at least one of the subexpressions has been received in any period for a least 2 * periods (see below for definition of period and periods"},{"line_number":464,"context_line":"* OK - Measurements have been received and the Alarm Definition Expression evaluates to false for the given measurements"},{"line_number":465,"context_line":"* ALARM - Measurements have been received and the Alarm Definition Expression evaluates to true for the given measurements"},{"line_number":466,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":1,"id":"9a8ffd7b_e2b9eb7a","line":463,"updated":"2015-11-30 16:32:21.000000000","message":"has been received \u003d\u003e have been received\n\na least \u003d\u003e at least","commit_id":"cac3714f71af0c854c24397158baaa8c6dc270b6"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"f4bc8fbf1e00776943ed71d8e6fb56600fa4b72a","unresolved":false,"context_lines":[{"line_number":460,"context_line":""},{"line_number":461,"context_line":"Alarms have a state that is set by the Threshold Engine based on the incoming measurements."},{"line_number":462,"context_line":""},{"line_number":463,"context_line":"* UNDETERMINED - No measurements for at least one of the subexpressions has been received in any period for a least 2 * periods (see below for definition of period and periods"},{"line_number":464,"context_line":"* OK - Measurements have been received and the Alarm Definition Expression evaluates to false for the given measurements"},{"line_number":465,"context_line":"* ALARM - Measurements have been received and the Alarm Definition Expression evaluates to true for the given measurements"},{"line_number":466,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":1,"id":"9a8ffd7b_de3b5237","line":463,"in_reply_to":"9a8ffd7b_e2b9eb7a","updated":"2015-11-30 21:53:20.000000000","message":"Done","commit_id":"cac3714f71af0c854c24397158baaa8c6dc270b6"},{"author":{"_account_id":14517,"name":"Ryan Brandt","email":"ryan.brandt@hpe.com","username":"ryan-brandt"},"change_message_id":"4dba637a74442a77ac0aa19fbc8e86ada676afc6","unresolved":false,"context_lines":[{"line_number":471,"context_line":"## Alarm Definition Expressions"},{"line_number":472,"context_line":"The alarm definition expression syntax allows the creation of simple or complex alarm definitions to handle a wide variety of needs. Alarm expressions are evaluated every 60 seconds."},{"line_number":473,"context_line":""},{"line_number":474,"context_line":"An alarm expression is a boolean equation which if it evaluates to true with the incoming measurements, will then trigger a notification to be sent."},{"line_number":475,"context_line":""},{"line_number":476,"context_line":"### Syntax"},{"line_number":477,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":1,"id":"9a8ffd7b_c242a768","line":474,"updated":"2015-11-30 16:32:21.000000000","message":"should be a comma after \"which\"","commit_id":"cac3714f71af0c854c24397158baaa8c6dc270b6"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"f4bc8fbf1e00776943ed71d8e6fb56600fa4b72a","unresolved":false,"context_lines":[{"line_number":471,"context_line":"## Alarm Definition Expressions"},{"line_number":472,"context_line":"The alarm definition expression syntax allows the creation of simple or complex alarm definitions to handle a wide variety of needs. Alarm expressions are evaluated every 60 seconds."},{"line_number":473,"context_line":""},{"line_number":474,"context_line":"An alarm expression is a boolean equation which if it evaluates to true with the incoming measurements, will then trigger a notification to be sent."},{"line_number":475,"context_line":""},{"line_number":476,"context_line":"### Syntax"},{"line_number":477,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":1,"id":"9a8ffd7b_d9f5accb","line":474,"in_reply_to":"9a8ffd7b_c242a768","updated":"2015-11-30 21:53:20.000000000","message":"Changed the sentence to remove the which","commit_id":"cac3714f71af0c854c24397158baaa8c6dc270b6"},{"author":{"_account_id":860,"name":"Donagh McCabe","email":"donagh.mccabe@gmail.com","username":"donagh-mccabe"},"change_message_id":"d23cd0abe1a09984cd92cc7ed77d669ff39cd33e","unresolved":false,"context_lines":[{"line_number":471,"context_line":"## Alarm Definition Expressions"},{"line_number":472,"context_line":"The alarm definition expression syntax allows the creation of simple or complex alarm definitions to handle a wide variety of needs. Alarm expressions are evaluated every 60 seconds."},{"line_number":473,"context_line":""},{"line_number":474,"context_line":"An alarm expression is a boolean equation which if it evaluates to true with the incoming measurements, will then trigger a notification to be sent."},{"line_number":475,"context_line":""},{"line_number":476,"context_line":"### Syntax"},{"line_number":477,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":1,"id":"9a8ffd7b_ddae0698","line":474,"in_reply_to":"9a8ffd7b_c242a768","updated":"2015-11-30 16:38:16.000000000","message":"More to the point: why mention \"notification\" here -- this is an *alarm\" expression","commit_id":"cac3714f71af0c854c24397158baaa8c6dc270b6"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"f4bc8fbf1e00776943ed71d8e6fb56600fa4b72a","unresolved":false,"context_lines":[{"line_number":471,"context_line":"## Alarm Definition Expressions"},{"line_number":472,"context_line":"The alarm definition expression syntax allows the creation of simple or complex alarm definitions to handle a wide variety of needs. Alarm expressions are evaluated every 60 seconds."},{"line_number":473,"context_line":""},{"line_number":474,"context_line":"An alarm expression is a boolean equation which if it evaluates to true with the incoming measurements, will then trigger a notification to be sent."},{"line_number":475,"context_line":""},{"line_number":476,"context_line":"### Syntax"},{"line_number":477,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":1,"id":"9a8ffd7b_392b9835","line":474,"in_reply_to":"9a8ffd7b_ddae0698","updated":"2015-11-30 21:53:20.000000000","message":"Done","commit_id":"cac3714f71af0c854c24397158baaa8c6dc270b6"},{"author":{"_account_id":14517,"name":"Ryan Brandt","email":"ryan.brandt@hpe.com","username":"ryan-brandt"},"change_message_id":"0634607edf8f7b9ac3b1397024f0cba245d67cc1","unresolved":false,"context_lines":[{"line_number":460,"context_line":""},{"line_number":461,"context_line":"Alarms have a state that is set by the Threshold Engine based on the incoming measurements."},{"line_number":462,"context_line":""},{"line_number":463,"context_line":"* UNDETERMINED - No measurements have been received for at least one of have been received the subexpressions in any period for a least 2 * periods (see below for definition of period and periods"},{"line_number":464,"context_line":"* OK - Measurements have been received and the Alarm Definition Expression evaluates to false for the given measurements"},{"line_number":465,"context_line":"* ALARM - Measurements have been received and the Alarm Definition Expression evaluates to true for the given measurements"},{"line_number":466,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":2,"id":"9a8ffd7b_94e36b33","line":463,"updated":"2015-11-30 22:53:16.000000000","message":"extra \"have been received\" on this line","commit_id":"a76050c9a85898163580a895947021bf3614dcea"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"c1dcff5feba6ac1953f81037e41a7a7c52e32ba9","unresolved":false,"context_lines":[{"line_number":460,"context_line":""},{"line_number":461,"context_line":"Alarms have a state that is set by the Threshold Engine based on the incoming measurements."},{"line_number":462,"context_line":""},{"line_number":463,"context_line":"* UNDETERMINED - No measurements have been received for at least one of have been received the subexpressions in any period for a least 2 * periods (see below for definition of period and periods"},{"line_number":464,"context_line":"* OK - Measurements have been received and the Alarm Definition Expression evaluates to false for the given measurements"},{"line_number":465,"context_line":"* ALARM - Measurements have been received and the Alarm Definition Expression evaluates to true for the given measurements"},{"line_number":466,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":2,"id":"9a8ffd7b_11cb0874","line":463,"in_reply_to":"9a8ffd7b_94e36b33","updated":"2015-12-01 00:38:48.000000000","message":"Done","commit_id":"a76050c9a85898163580a895947021bf3614dcea"}]}
