)]}'
{"docs/monasca-api-spec.md":[{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"6326ffb560bd0059a6a2525fee7b7806c8429a4c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Monasca API"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"Date: July 18, 2014"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Document Version: v2.0"},{"line_number":6,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_e534ffdf","line":3,"updated":"2014-11-05 17:19:02.000000000","message":"should the date be updated?","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"2a73982ea892c6a6ca3b7d8ea6abf955d441cd18","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Monasca API"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"Date: July 18, 2014"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Document Version: v2.0"},{"line_number":6,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_e02f8d9f","line":3,"in_reply_to":"7a8c0949_e534ffdf","updated":"2014-11-05 19:53:32.000000000","message":"Done","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"6326ffb560bd0059a6a2525fee7b7806c8429a4c","unresolved":false,"context_lines":[{"line_number":2,"context_line":""},{"line_number":3,"context_line":"Date: July 18, 2014"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Document Version: v2.0"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e"},{"line_number":8,"context_line":"\u003c!-- DON\u0027T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e"}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_05302be7","line":5,"updated":"2014-11-05 17:19:02.000000000","message":"rev the version?","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"2a73982ea892c6a6ca3b7d8ea6abf955d441cd18","unresolved":false,"context_lines":[{"line_number":2,"context_line":""},{"line_number":3,"context_line":"Date: July 18, 2014"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Document Version: v2.0"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e"},{"line_number":8,"context_line":"\u003c!-- DON\u0027T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e"}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_c007f11b","line":5,"in_reply_to":"7a8c0949_05302be7","updated":"2014-11-05 19:53:32.000000000","message":"I don\u0027t think so. I think it would be good to keep the version in sync with the API. But, I could be wrong","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"6326ffb560bd0059a6a2525fee7b7806c8429a4c","unresolved":false,"context_lines":[{"line_number":303,"context_line":"4. Statistics -  Operations for evaluating statistics of metrics."},{"line_number":304,"context_line":"5. Notification Methods - Represents a method, such as email, which can be associated with an alarm definition via an action. When an alarm is triggered notification methods associated with the alarm definition are triggered."},{"line_number":305,"context_line":"5. Alarm Definitions - Provides CRUD operations for alarm definitions."},{"line_number":306,"context_line":"6. Alarms - Provides CRUD operations for alarms and querying the alarm state history."},{"line_number":307,"context_line":""},{"line_number":308,"context_line":"Before using the API, you must first get a valid auth token from Keystone. All API operations require an auth token specified in the header of the http request."},{"line_number":309,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_259c47c0","line":306,"updated":"2014-11-05 17:19:02.000000000","message":"\u0027alarms, and querying...\u0027  needs comma.","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"2a73982ea892c6a6ca3b7d8ea6abf955d441cd18","unresolved":false,"context_lines":[{"line_number":303,"context_line":"4. Statistics -  Operations for evaluating statistics of metrics."},{"line_number":304,"context_line":"5. Notification Methods - Represents a method, such as email, which can be associated with an alarm definition via an action. When an alarm is triggered notification methods associated with the alarm definition are triggered."},{"line_number":305,"context_line":"5. Alarm Definitions - Provides CRUD operations for alarm definitions."},{"line_number":306,"context_line":"6. Alarms - Provides CRUD operations for alarms and querying the alarm state history."},{"line_number":307,"context_line":""},{"line_number":308,"context_line":"Before using the API, you must first get a valid auth token from Keystone. All API operations require an auth token specified in the header of the http request."},{"line_number":309,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_e006ad1f","line":306,"in_reply_to":"7a8c0949_259c47c0","updated":"2014-11-05 19:53:32.000000000","message":"Done","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"6326ffb560bd0059a6a2525fee7b7806c8429a4c","unresolved":false,"context_lines":[{"line_number":311,"context_line":"A metric is uniquely identified by a name and set of dimensions."},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"### Name"},{"line_number":314,"context_line":"Defines the name of a metric. A name is of type string(64)."},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"### Dimensions"},{"line_number":317,"context_line":"A dictionary of (key, value) pairs. The key and value are of type string(255). The first character in the dimension is restricted to the following: `a-z A-Z 0-9 _ / \\ $`. "}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_c5aaa3d1","line":314,"updated":"2014-11-05 17:19:02.000000000","message":"string(64)? is that supposed to be length 64?  \u0027string(64)\u0027 can be interpreted as an encoding.  maybe we should change that for clarification while were workng on the docs.","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"2a73982ea892c6a6ca3b7d8ea6abf955d441cd18","unresolved":false,"context_lines":[{"line_number":311,"context_line":"A metric is uniquely identified by a name and set of dimensions."},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"### Name"},{"line_number":314,"context_line":"Defines the name of a metric. A name is of type string(64)."},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"### Dimensions"},{"line_number":317,"context_line":"A dictionary of (key, value) pairs. The key and value are of type string(255). The first character in the dimension is restricted to the following: `a-z A-Z 0-9 _ / \\ $`. "}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_ea004b03","line":314,"in_reply_to":"7a8c0949_a5b0378c","updated":"2014-11-05 19:53:32.000000000","message":"Done","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"2a73982ea892c6a6ca3b7d8ea6abf955d441cd18","unresolved":false,"context_lines":[{"line_number":311,"context_line":"A metric is uniquely identified by a name and set of dimensions."},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"### Name"},{"line_number":314,"context_line":"Defines the name of a metric. A name is of type string(64)."},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"### Dimensions"},{"line_number":317,"context_line":"A dictionary of (key, value) pairs. The key and value are of type string(255). The first character in the dimension is restricted to the following: `a-z A-Z 0-9 _ / \\ $`. "}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_0a04b713","line":314,"in_reply_to":"7a8c0949_c5aaa3d1","updated":"2014-11-05 19:53:32.000000000","message":"I think it will work since it is now string(100). If you want to update the whole doc, go ahead.","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"e4344645318b61b0bd1ff931a46140b1f8bd4be3","unresolved":false,"context_lines":[{"line_number":311,"context_line":"A metric is uniquely identified by a name and set of dimensions."},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"### Name"},{"line_number":314,"context_line":"Defines the name of a metric. A name is of type string(64)."},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"### Dimensions"},{"line_number":317,"context_line":"A dictionary of (key, value) pairs. The key and value are of type string(255). The first character in the dimension is restricted to the following: `a-z A-Z 0-9 _ / \\ $`. "}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_a5b0378c","line":314,"in_reply_to":"7a8c0949_c5aaa3d1","updated":"2014-11-05 17:51:46.000000000","message":"schema allows lenght of 100 for metric name. maybe this would be a good time to update this doc.","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"6326ffb560bd0059a6a2525fee7b7806c8429a4c","unresolved":false,"context_lines":[{"line_number":314,"context_line":"Defines the name of a metric. A name is of type string(64)."},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"### Dimensions"},{"line_number":317,"context_line":"A dictionary of (key, value) pairs. The key and value are of type string(255). The first character in the dimension is restricted to the following: `a-z A-Z 0-9 _ / \\ $`. "},{"line_number":318,"context_line":"However, the next characters may be any character except for the following: `; } { \u003d , \u0026 ) ( \"`. If one of the restricted characters is needed, this can be achieved by double quoting the dimensions. "},{"line_number":319,"context_line":""},{"line_number":320,"context_line":"### Text Representation"}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_25ea870f","line":317,"updated":"2014-11-05 17:19:02.000000000","message":"we really need to get rid of these restrictions to support unicode.  (just a comment)","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"6326ffb560bd0059a6a2525fee7b7806c8429a4c","unresolved":false,"context_lines":[{"line_number":318,"context_line":"However, the next characters may be any character except for the following: `; } { \u003d , \u0026 ) ( \"`. If one of the restricted characters is needed, this can be achieved by double quoting the dimensions. "},{"line_number":319,"context_line":""},{"line_number":320,"context_line":"### Text Representation"},{"line_number":321,"context_line":"In this document, metrics will be represented in the form `name{name\u003dvalue}` where name is the metric name and the name\u003dvalue pairs in the curly braces are the dimensions. For example, `cpu.idle_perc{service\u003dmonitoring}` represents a metric with the name \"cpu.idle_perc\" and the dimension \"service\u003dmonitoring\"."},{"line_number":322,"context_line":""},{"line_number":323,"context_line":"## Alarm Definitions and Alarms"},{"line_number":324,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_e5e79f3e","line":321,"updated":"2014-11-05 17:19:02.000000000","message":"maybe show multiple dimensions.","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"2a73982ea892c6a6ca3b7d8ea6abf955d441cd18","unresolved":false,"context_lines":[{"line_number":318,"context_line":"However, the next characters may be any character except for the following: `; } { \u003d , \u0026 ) ( \"`. If one of the restricted characters is needed, this can be achieved by double quoting the dimensions. "},{"line_number":319,"context_line":""},{"line_number":320,"context_line":"### Text Representation"},{"line_number":321,"context_line":"In this document, metrics will be represented in the form `name{name\u003dvalue}` where name is the metric name and the name\u003dvalue pairs in the curly braces are the dimensions. For example, `cpu.idle_perc{service\u003dmonitoring}` represents a metric with the name \"cpu.idle_perc\" and the dimension \"service\u003dmonitoring\"."},{"line_number":322,"context_line":""},{"line_number":323,"context_line":"## Alarm Definitions and Alarms"},{"line_number":324,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_2a0b3326","line":321,"in_reply_to":"7a8c0949_e5e79f3e","updated":"2014-11-05 19:53:32.000000000","message":"Done","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"6326ffb560bd0059a6a2525fee7b7806c8429a4c","unresolved":false,"context_lines":[{"line_number":324,"context_line":""},{"line_number":325,"context_line":"Alarm Definitions are policies that specify how Alarms should be created. By using Alarm Definitions, the user doesn\u0027t have to create individual alarms for each system or service. Instead, a small number of Alarm Definitions can be managed and Monasca will create Alarms for systems and services as they appear."},{"line_number":326,"context_line":""},{"line_number":327,"context_line":"An Alarm Definition has an expression for evaluating one or more metrics to determine if there is a problem. Depending on the Alarm Definition expression and match_by value, Monasca will create one or Alarms depending on the Metrics that are received. The match_by parameter specifies which dimension or dimensions should be used to determine if one or more alarms will be created."},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"An example is the best way to show this. Imagine two Alarm Definitions have been created:"},{"line_number":330,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_05e3cb33","line":327,"updated":"2014-11-05 17:19:02.000000000","message":"missing \u0027more\u0027","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"2a73982ea892c6a6ca3b7d8ea6abf955d441cd18","unresolved":false,"context_lines":[{"line_number":324,"context_line":""},{"line_number":325,"context_line":"Alarm Definitions are policies that specify how Alarms should be created. By using Alarm Definitions, the user doesn\u0027t have to create individual alarms for each system or service. Instead, a small number of Alarm Definitions can be managed and Monasca will create Alarms for systems and services as they appear."},{"line_number":326,"context_line":""},{"line_number":327,"context_line":"An Alarm Definition has an expression for evaluating one or more metrics to determine if there is a problem. Depending on the Alarm Definition expression and match_by value, Monasca will create one or Alarms depending on the Metrics that are received. The match_by parameter specifies which dimension or dimensions should be used to determine if one or more alarms will be created."},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"An example is the best way to show this. Imagine two Alarm Definitions have been created:"},{"line_number":330,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_4a0ebf35","line":327,"in_reply_to":"7a8c0949_05e3cb33","updated":"2014-11-05 19:53:32.000000000","message":"Done","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"6326ffb560bd0059a6a2525fee7b7806c8429a4c","unresolved":false,"context_lines":[{"line_number":338,"context_line":"Alarm Definition 2:"},{"line_number":339,"context_line":"\tAlarm 1 - Metrics: cpu.idle_perc{service\u003dmonitoring,hostname\u003dmini-mon}"},{"line_number":340,"context_line":""},{"line_number":341,"context_line":"Now, when 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 than the value for the existing Alarm form Alarm Definition 2, an 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":342,"context_line":""},{"line_number":343,"context_line":"Alarm Definition 1:"},{"line_number":344,"context_line":"\tAlarm 1 - Metrics: cpu.idle_perc{service\u003dmonitoring,hostname\u003dmini-mon} and cpu.idle_perc{service\u003dmonitoring,hostname\u003ddevstack}"}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_c5bf03fb","line":341,"updated":"2014-11-05 17:19:02.000000000","message":"\u0027from\u0027 instead of \u0027form\u0027","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"2a73982ea892c6a6ca3b7d8ea6abf955d441cd18","unresolved":false,"context_lines":[{"line_number":338,"context_line":"Alarm Definition 2:"},{"line_number":339,"context_line":"\tAlarm 1 - Metrics: cpu.idle_perc{service\u003dmonitoring,hostname\u003dmini-mon}"},{"line_number":340,"context_line":""},{"line_number":341,"context_line":"Now, when 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 than the value for the existing Alarm form Alarm Definition 2, an 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":342,"context_line":""},{"line_number":343,"context_line":"Alarm Definition 1:"},{"line_number":344,"context_line":"\tAlarm 1 - Metrics: cpu.idle_perc{service\u003dmonitoring,hostname\u003dmini-mon} and cpu.idle_perc{service\u003dmonitoring,hostname\u003ddevstack}"}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_6a145b44","line":341,"in_reply_to":"7a8c0949_c5bf03fb","updated":"2014-11-05 19:53:32.000000000","message":"Done","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"6326ffb560bd0059a6a2525fee7b7806c8429a4c","unresolved":false,"context_lines":[{"line_number":346,"context_line":"Alarm Definition 2:"},{"line_number":347,"context_line":"\tAlarm 1 - Metrics: cpu.idle_perc{service\u003dmonitoring,hostname\u003dmini-mon}"},{"line_number":348,"context_line":"\tAlarm 2 - Metrics: cpu.idle_perc{service\u003dmonitoring,hostname\u003ddevstack}"},{"line_number":349,"context_line":""},{"line_number":350,"context_line":"Alarm Definition 1 is evaluating the status of the monitoring service as a whole, while Alarm Definition 2 evaluates each system in the service."},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"Now if another system is configured into the monitoring service, then its cpu.idle_perc metric will be added to the Alarm for Alarm Definition 1 and a new Alarm will be created for Alarm Definition 2, all without any user intervention. The system will be monitored without requiring the user to explictly add alarms for the new system as other monitoring systems require."}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_2538c79f","line":349,"updated":"2014-11-05 17:19:02.000000000","message":"formatting doesn\u0027t show up correctly in Mou markdown editor.\n\nMaybe use Alarm Definition 1,2,etc with Alarm A,B,etc for more clarity.","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"2a73982ea892c6a6ca3b7d8ea6abf955d441cd18","unresolved":false,"context_lines":[{"line_number":346,"context_line":"Alarm Definition 2:"},{"line_number":347,"context_line":"\tAlarm 1 - Metrics: cpu.idle_perc{service\u003dmonitoring,hostname\u003dmini-mon}"},{"line_number":348,"context_line":"\tAlarm 2 - Metrics: cpu.idle_perc{service\u003dmonitoring,hostname\u003ddevstack}"},{"line_number":349,"context_line":""},{"line_number":350,"context_line":"Alarm Definition 1 is evaluating the status of the monitoring service as a whole, while Alarm Definition 2 evaluates each system in the service."},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"Now if another system is configured into the monitoring service, then its cpu.idle_perc metric will be added to the Alarm for Alarm Definition 1 and a new Alarm will be created for Alarm Definition 2, all without any user intervention. The system will be monitored without requiring the user to explictly add alarms for the new system as other monitoring systems require."}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_aa1e4361","line":349,"in_reply_to":"7a8c0949_2538c79f","updated":"2014-11-05 19:53:32.000000000","message":"I used the ``` notation. See if that works better","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"6326ffb560bd0059a6a2525fee7b7806c8429a4c","unresolved":false,"context_lines":[{"line_number":390,"context_line":"disk.space_used_perc{device:tmpfs,hostname\u003dmini-mon}"},{"line_number":391,"context_line":"disk.space_used_perc{device:/dev/sda1,hostname\u003ddevstack}"},{"line_number":392,"context_line":"disk.space_used_perc{device:tmpfs,hostname\u003ddevstack}"},{"line_number":393,"context_line":""},{"line_number":394,"context_line":"Given the expression  `max(disk.space_used_perc{service\u003dmonitoring}) \u003e 90` and match_by set to `hostname`, this will create two alarms:"},{"line_number":395,"context_line":""},{"line_number":396,"context_line":"\tAlarm 1 - Metrics: disk.space_used_perc{device:/dev/sda1,hostname\u003dmini-mon}, disk.space_used_perc{device:tmpfs,hostname\u003dmini-mon}"}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_e56cff9e","line":393,"updated":"2014-11-05 17:19:02.000000000","message":"these are showing up as only 2 separate lines in mou.","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"2a73982ea892c6a6ca3b7d8ea6abf955d441cd18","unresolved":false,"context_lines":[{"line_number":390,"context_line":"disk.space_used_perc{device:tmpfs,hostname\u003dmini-mon}"},{"line_number":391,"context_line":"disk.space_used_perc{device:/dev/sda1,hostname\u003ddevstack}"},{"line_number":392,"context_line":"disk.space_used_perc{device:tmpfs,hostname\u003ddevstack}"},{"line_number":393,"context_line":""},{"line_number":394,"context_line":"Given the expression  `max(disk.space_used_perc{service\u003dmonitoring}) \u003e 90` and match_by set to `hostname`, this will create two alarms:"},{"line_number":395,"context_line":""},{"line_number":396,"context_line":"\tAlarm 1 - Metrics: disk.space_used_perc{device:/dev/sda1,hostname\u003dmini-mon}, disk.space_used_perc{device:tmpfs,hostname\u003dmini-mon}"}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_ca19cf7a","line":393,"in_reply_to":"7a8c0949_e56cff9e","updated":"2014-11-05 19:53:32.000000000","message":"I used the ``` notation. See if that works better","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"6326ffb560bd0059a6a2525fee7b7806c8429a4c","unresolved":false,"context_lines":[{"line_number":504,"context_line":""},{"line_number":505,"context_line":""},{"line_number":506,"context_line":"#### Simple Example"},{"line_number":507,"context_line":"In this example the metric uniquely identified with the name\u003dcpu.system_perc and dimension hostname\u003dhost.domain.com is compared to the threshold 95."},{"line_number":508,"context_line":""},{"line_number":509,"context_line":"```"},{"line_number":510,"context_line":"cpu.system_perc{hostname\u003dhost.domain.com} \u003e 95"}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_450953dc","line":507,"updated":"2014-11-05 17:19:02.000000000","message":"maybe remove the \u0027\u003d\u0027 between name and cpu.system","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"2a73982ea892c6a6ca3b7d8ea6abf955d441cd18","unresolved":false,"context_lines":[{"line_number":504,"context_line":""},{"line_number":505,"context_line":""},{"line_number":506,"context_line":"#### Simple Example"},{"line_number":507,"context_line":"In this example the metric uniquely identified with the name\u003dcpu.system_perc and dimension hostname\u003dhost.domain.com is compared to the threshold 95."},{"line_number":508,"context_line":""},{"line_number":509,"context_line":"```"},{"line_number":510,"context_line":"cpu.system_perc{hostname\u003dhost.domain.com} \u003e 95"}],"source_content_type":"text/x-markdown","patch_set":2,"id":"7a8c0949_2a597336","line":507,"in_reply_to":"7a8c0949_450953dc","updated":"2014-11-05 19:53:32.000000000","message":"Missed this one","commit_id":"876412f651aae301e1480a44d57a361bef3aa599"}]}
