)]}'
{"specs/stein/approved/prometheus-datasource.rst":[{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"256dd33f483216763b8d8d744580a81f5a264762","unresolved":false,"context_lines":[{"line_number":5,"context_line":" http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":8,"context_line":"Prometheus Datasource Dimensions Mapping"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"StoryBoard link (task #28682):"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_781c076a","line":8,"range":{"start_line":8,"start_character":22,"end_line":8,"end_character":32},"updated":"2018-12-30 17:24:56.000000000","message":"labels","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"0f86082938ba48f35f3855cd654a21947457b5dd","unresolved":false,"context_lines":[{"line_number":5,"context_line":" http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":8,"context_line":"Prometheus Datasource Dimensions Mapping"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"StoryBoard link (task #28682):"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_58d7cb4c","line":8,"range":{"start_line":8,"start_character":22,"end_line":8,"end_character":32},"in_reply_to":"1f769fc5_781c076a","updated":"2018-12-31 10:32:36.000000000","message":"Done","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"256dd33f483216763b8d8d744580a81f5a264762","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Vitrage holds an entity graph with resources and alarms. Each alarm should be"},{"line_number":22,"context_line":"connected to its resource in the graph, in order to support alarm correlation."},{"line_number":23,"context_line":"In Prometheus, an alarm is based on a metric, where each metric can have different"},{"line_number":24,"context_line":"``Labels``. The labels contain enough information to identify the"},{"line_number":25,"context_line":"resource, however for each alarm Vitrage may need to use one or more different"},{"line_number":26,"context_line":"label(s)."},{"line_number":27,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_9819e37a","line":24,"range":{"start_line":23,"start_character":52,"end_line":24,"end_character":10},"updated":"2018-12-30 17:24:56.000000000","message":"The labels belong to the metric or to the alarm?","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"0f86082938ba48f35f3855cd654a21947457b5dd","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Vitrage holds an entity graph with resources and alarms. Each alarm should be"},{"line_number":22,"context_line":"connected to its resource in the graph, in order to support alarm correlation."},{"line_number":23,"context_line":"In Prometheus, an alarm is based on a metric, where each metric can have different"},{"line_number":24,"context_line":"``Labels``. The labels contain enough information to identify the"},{"line_number":25,"context_line":"resource, however for each alarm Vitrage may need to use one or more different"},{"line_number":26,"context_line":"label(s)."},{"line_number":27,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_38d20f5e","line":24,"range":{"start_line":23,"start_character":52,"end_line":24,"end_character":10},"in_reply_to":"1f769fc5_9819e37a","updated":"2018-12-31 10:32:36.000000000","message":"both","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"256dd33f483216763b8d8d744580a81f5a264762","unresolved":false,"context_lines":[{"line_number":26,"context_line":"label(s)."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"The purpose of this blueprint is to define a way for Vitrage to easily"},{"line_number":29,"context_line":"determine the identification method for every Prometheus alarm."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"In the use cases that are described below, we would like to create a Prometheus"},{"line_number":32,"context_line":"alarm vertex in Vitrage and connect it with an ``on`` edge to the right"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_3828cf84","line":29,"range":{"start_line":29,"start_character":57,"end_line":29,"end_character":62},"updated":"2018-12-30 17:24:56.000000000","message":"alert","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"0f86082938ba48f35f3855cd654a21947457b5dd","unresolved":false,"context_lines":[{"line_number":26,"context_line":"label(s)."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"The purpose of this blueprint is to define a way for Vitrage to easily"},{"line_number":29,"context_line":"determine the identification method for every Prometheus alarm."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"In the use cases that are described below, we would like to create a Prometheus"},{"line_number":32,"context_line":"alarm vertex in Vitrage and connect it with an ``on`` edge to the right"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_f8cb37a2","line":29,"range":{"start_line":29,"start_character":57,"end_line":29,"end_character":62},"in_reply_to":"1f769fc5_3828cf84","updated":"2018-12-31 10:32:36.000000000","message":"Done","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"256dd33f483216763b8d8d744580a81f5a264762","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"* ``annotations`` - annotations including ``title`` and ``description`` of the alarm."},{"line_number":42,"context_line":"* ``labels`` - a list of one or more labels. The labels are generated from alert rule and"},{"line_number":43,"context_line":"  alert metrics that the alarm is based on."},{"line_number":44,"context_line":"* ``status`` - the current status of the alarm: ``firing`` or ``resolved``."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_582d8b93","line":43,"range":{"start_line":43,"start_character":25,"end_line":43,"end_character":30},"updated":"2018-12-30 17:24:56.000000000","message":"alert (also in other places)","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"0f86082938ba48f35f3855cd654a21947457b5dd","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"* ``annotations`` - annotations including ``title`` and ``description`` of the alarm."},{"line_number":42,"context_line":"* ``labels`` - a list of one or more labels. The labels are generated from alert rule and"},{"line_number":43,"context_line":"  alert metrics that the alarm is based on."},{"line_number":44,"context_line":"* ``status`` - the current status of the alarm: ``firing`` or ``resolved``."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_18d15355","line":43,"range":{"start_line":43,"start_character":25,"end_line":43,"end_character":30},"in_reply_to":"1f769fc5_582d8b93","updated":"2018-12-31 10:32:36.000000000","message":"Done","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"256dd33f483216763b8d8d744580a81f5a264762","unresolved":false,"context_lines":[{"line_number":121,"context_line":""},{"line_number":122,"context_line":"**Vitrage resource**"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"Vitrage resource can be uniquely identified by the ``instance`` and ``domain`` labels."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"Alarms based on libvirt network metrics"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_f821f7a0","line":124,"range":{"start_line":124,"start_character":51,"end_line":124,"end_character":85},"updated":"2018-12-30 17:24:56.000000000","message":"Please explain the meaning of each label","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"0f86082938ba48f35f3855cd654a21947457b5dd","unresolved":false,"context_lines":[{"line_number":121,"context_line":""},{"line_number":122,"context_line":"**Vitrage resource**"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"Vitrage resource can be uniquely identified by the ``instance`` and ``domain`` labels."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"Alarms based on libvirt network metrics"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_78bf27fb","line":124,"range":{"start_line":124,"start_character":51,"end_line":124,"end_character":85},"in_reply_to":"1f769fc5_f821f7a0","updated":"2018-12-31 10:32:36.000000000","message":"explained right before the example....","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"256dd33f483216763b8d8d744580a81f5a264762","unresolved":false,"context_lines":[{"line_number":174,"context_line":""},{"line_number":175,"context_line":"**Prometheus alarm**"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"All Node metrics have a ``instance`` holds the hostname/ip of where the exporter"},{"line_number":178,"context_line":"is running."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_182713b6","line":177,"range":{"start_line":177,"start_character":37,"end_line":177,"end_character":42},"updated":"2018-12-30 17:24:56.000000000","message":"that holds","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"0f86082938ba48f35f3855cd654a21947457b5dd","unresolved":false,"context_lines":[{"line_number":174,"context_line":""},{"line_number":175,"context_line":"**Prometheus alarm**"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"All Node metrics have a ``instance`` holds the hostname/ip of where the exporter"},{"line_number":178,"context_line":"is running."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_58c10b54","line":177,"range":{"start_line":177,"start_character":37,"end_line":177,"end_character":42},"in_reply_to":"1f769fc5_182713b6","updated":"2018-12-31 10:32:36.000000000","message":"Done","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"256dd33f483216763b8d8d744580a81f5a264762","unresolved":false,"context_lines":[{"line_number":174,"context_line":""},{"line_number":175,"context_line":"**Prometheus alarm**"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"All Node metrics have a ``instance`` holds the hostname/ip of where the exporter"},{"line_number":178,"context_line":"is running."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"Alarms based on CPU metric"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_b83b7fcf","line":178,"range":{"start_line":177,"start_character":47,"end_line":178,"end_character":11},"updated":"2018-12-30 17:24:56.000000000","message":"is it always the hostname/ip of the resource that the alert is raised on?","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"0f86082938ba48f35f3855cd654a21947457b5dd","unresolved":false,"context_lines":[{"line_number":174,"context_line":""},{"line_number":175,"context_line":"**Prometheus alarm**"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"All Node metrics have a ``instance`` holds the hostname/ip of where the exporter"},{"line_number":178,"context_line":"is running."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"Alarms based on CPU metric"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_e3214cb6","line":178,"range":{"start_line":177,"start_character":47,"end_line":178,"end_character":11},"in_reply_to":"1f769fc5_b83b7fcf","updated":"2018-12-31 10:32:36.000000000","message":"fixed, this holds the exporter\u0027s address\nnot it is explained more","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"256dd33f483216763b8d8d744580a81f5a264762","unresolved":false,"context_lines":[{"line_number":178,"context_line":"is running."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"Alarms based on CPU metric"},{"line_number":182,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"**Prometheus alarm**"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_d838bbd4","line":181,"range":{"start_line":181,"start_character":0,"end_line":181,"end_character":26},"updated":"2018-12-30 17:24:56.000000000","message":"You already had this title","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"0f86082938ba48f35f3855cd654a21947457b5dd","unresolved":false,"context_lines":[{"line_number":178,"context_line":"is running."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"Alarms based on CPU metric"},{"line_number":182,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"**Prometheus alarm**"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_98bc8306","line":181,"range":{"start_line":181,"start_character":0,"end_line":181,"end_character":26},"in_reply_to":"1f769fc5_d838bbd4","updated":"2018-12-31 10:32:36.000000000","message":"Done","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"256dd33f483216763b8d8d744580a81f5a264762","unresolved":false,"context_lines":[{"line_number":186,"context_line":"The alarm can hold either:"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"* A node URL, to give information about the node\u0027s services"},{"line_number":189,"context_line":"* An exporter URL, to give information about where the exporter is running"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"**Prometheus alarm example**"},{"line_number":192,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_58526b15","line":189,"range":{"start_line":189,"start_character":0,"end_line":189,"end_character":74},"updated":"2018-12-30 17:24:56.000000000","message":"What does it mean? how can we get the resource in this case?","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"0f86082938ba48f35f3855cd654a21947457b5dd","unresolved":false,"context_lines":[{"line_number":186,"context_line":"The alarm can hold either:"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"* A node URL, to give information about the node\u0027s services"},{"line_number":189,"context_line":"* An exporter URL, to give information about where the exporter is running"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"**Prometheus alarm example**"},{"line_number":192,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_832e58a3","line":189,"range":{"start_line":189,"start_character":0,"end_line":189,"end_character":74},"in_reply_to":"1f769fc5_58526b15","updated":"2018-12-31 10:32:36.000000000","message":"redundant sentence. deleted","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"256dd33f483216763b8d8d744580a81f5a264762","unresolved":false,"context_lines":[{"line_number":272,"context_line":"Proposed change"},{"line_number":273,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"TBD - a configuration file that maps the Prometheus labels to a corresponding"},{"line_number":276,"context_line":"Vitrage resource with specific properties (id or other unique properties)."},{"line_number":277,"context_line":"The mapping will most likely be defined by the metric name and other fields."},{"line_number":278,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_d8667bee","line":275,"range":{"start_line":275,"start_character":0,"end_line":275,"end_character":3},"updated":"2018-12-30 17:24:56.000000000","message":"If you added an example then it\u0027s not TBD :-)","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"0f86082938ba48f35f3855cd654a21947457b5dd","unresolved":false,"context_lines":[{"line_number":272,"context_line":"Proposed change"},{"line_number":273,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"TBD - a configuration file that maps the Prometheus labels to a corresponding"},{"line_number":276,"context_line":"Vitrage resource with specific properties (id or other unique properties)."},{"line_number":277,"context_line":"The mapping will most likely be defined by the metric name and other fields."},{"line_number":278,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_18bb93e2","line":275,"range":{"start_line":275,"start_character":0,"end_line":275,"end_character":3},"in_reply_to":"1f769fc5_d8667bee","updated":"2018-12-31 10:32:36.000000000","message":"Done","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"256dd33f483216763b8d8d744580a81f5a264762","unresolved":false,"context_lines":[{"line_number":274,"context_line":""},{"line_number":275,"context_line":"TBD - a configuration file that maps the Prometheus labels to a corresponding"},{"line_number":276,"context_line":"Vitrage resource with specific properties (id or other unique properties)."},{"line_number":277,"context_line":"The mapping will most likely be defined by the metric name and other fields."},{"line_number":278,"context_line":""},{"line_number":279,"context_line":"**Configuration file example**"},{"line_number":280,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_7863a7dd","line":277,"range":{"start_line":277,"start_character":0,"end_line":277,"end_character":76},"updated":"2018-12-30 17:24:56.000000000","message":"Should be changed","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"0f86082938ba48f35f3855cd654a21947457b5dd","unresolved":false,"context_lines":[{"line_number":274,"context_line":""},{"line_number":275,"context_line":"TBD - a configuration file that maps the Prometheus labels to a corresponding"},{"line_number":276,"context_line":"Vitrage resource with specific properties (id or other unique properties)."},{"line_number":277,"context_line":"The mapping will most likely be defined by the metric name and other fields."},{"line_number":278,"context_line":""},{"line_number":279,"context_line":"**Configuration file example**"},{"line_number":280,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_b8cfff7d","line":277,"range":{"start_line":277,"start_character":0,"end_line":277,"end_character":76},"in_reply_to":"1f769fc5_7863a7dd","updated":"2018-12-31 10:32:36.000000000","message":"Done","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"256dd33f483216763b8d8d744580a81f5a264762","unresolved":false,"context_lines":[{"line_number":280,"context_line":""},{"line_number":281,"context_line":".. code-block:: yaml"},{"line_number":282,"context_line":""},{"line_number":283,"context_line":"alarms:"},{"line_number":284,"context_line":"- alarm:"},{"line_number":285,"context_line":"    key:"},{"line_number":286,"context_line":"      name: HighCpuOnVmAlert"},{"line_number":287,"context_line":"      job: libvirt"},{"line_number":288,"context_line":"    resource:"},{"line_number":289,"context_line":"      instance_name: domain"},{"line_number":290,"context_line":"      host_id: instance"},{"line_number":291,"context_line":"- alarm:"},{"line_number":292,"context_line":"    key:"},{"line_number":293,"context_line":"      name: HighTrafficOnBridge"},{"line_number":294,"context_line":"      job: libvirt"},{"line_number":295,"context_line":"    resource:"},{"line_number":296,"context_line":"      instance_name: domain"},{"line_number":297,"context_line":"      host_id: instance"},{"line_number":298,"context_line":"- alarm:"},{"line_number":299,"context_line":"    key:"},{"line_number":300,"context_line":"      name: AvgCPUTimeOnIdleMode"},{"line_number":301,"context_line":"      job: node"},{"line_number":302,"context_line":"    resource:"},{"line_number":303,"context_line":"      id: instance"},{"line_number":304,"context_line":"- alarm:"},{"line_number":305,"context_line":"    key:"},{"line_number":306,"context_line":"      name: HighInodeUsage"},{"line_number":307,"context_line":"      job: node"},{"line_number":308,"context_line":"    resource:"},{"line_number":309,"context_line":"      id: instance"},{"line_number":310,"context_line":""},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_986003d1","line":309,"range":{"start_line":283,"start_character":0,"end_line":309,"end_character":18},"updated":"2018-12-30 17:24:56.000000000","message":"Please explain what this file determines: that the alarm will be identified by the key and the resource by the \u0027resource\u0027 part. Also, please explain somewhere in the spec about the part that the instance can be either an ip, or an ip+port, or a hostname","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"0f86082938ba48f35f3855cd654a21947457b5dd","unresolved":false,"context_lines":[{"line_number":280,"context_line":""},{"line_number":281,"context_line":".. code-block:: yaml"},{"line_number":282,"context_line":""},{"line_number":283,"context_line":"alarms:"},{"line_number":284,"context_line":"- alarm:"},{"line_number":285,"context_line":"    key:"},{"line_number":286,"context_line":"      name: HighCpuOnVmAlert"},{"line_number":287,"context_line":"      job: libvirt"},{"line_number":288,"context_line":"    resource:"},{"line_number":289,"context_line":"      instance_name: domain"},{"line_number":290,"context_line":"      host_id: instance"},{"line_number":291,"context_line":"- alarm:"},{"line_number":292,"context_line":"    key:"},{"line_number":293,"context_line":"      name: HighTrafficOnBridge"},{"line_number":294,"context_line":"      job: libvirt"},{"line_number":295,"context_line":"    resource:"},{"line_number":296,"context_line":"      instance_name: domain"},{"line_number":297,"context_line":"      host_id: instance"},{"line_number":298,"context_line":"- alarm:"},{"line_number":299,"context_line":"    key:"},{"line_number":300,"context_line":"      name: AvgCPUTimeOnIdleMode"},{"line_number":301,"context_line":"      job: node"},{"line_number":302,"context_line":"    resource:"},{"line_number":303,"context_line":"      id: instance"},{"line_number":304,"context_line":"- alarm:"},{"line_number":305,"context_line":"    key:"},{"line_number":306,"context_line":"      name: HighInodeUsage"},{"line_number":307,"context_line":"      job: node"},{"line_number":308,"context_line":"    resource:"},{"line_number":309,"context_line":"      id: instance"},{"line_number":310,"context_line":""},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_b894df45","line":309,"range":{"start_line":283,"start_character":0,"end_line":309,"end_character":18},"in_reply_to":"1f769fc5_986003d1","updated":"2018-12-31 10:32:36.000000000","message":"Done","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"256dd33f483216763b8d8d744580a81f5a264762","unresolved":false,"context_lines":[{"line_number":312,"context_line":"Alternatives"},{"line_number":313,"context_line":"------------"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"TBD"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"Data model impact"},{"line_number":318,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_58a02bf5","line":315,"range":{"start_line":315,"start_character":0,"end_line":315,"end_character":3},"updated":"2018-12-30 17:24:56.000000000","message":"None ?","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"0f86082938ba48f35f3855cd654a21947457b5dd","unresolved":false,"context_lines":[{"line_number":312,"context_line":"Alternatives"},{"line_number":313,"context_line":"------------"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"TBD"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"Data model impact"},{"line_number":318,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_a32b5492","line":315,"range":{"start_line":315,"start_character":0,"end_line":315,"end_character":3},"in_reply_to":"1f769fc5_58a02bf5","updated":"2018-12-31 10:32:36.000000000","message":"Done","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"256dd33f483216763b8d8d744580a81f5a264762","unresolved":false,"context_lines":[{"line_number":363,"context_line":"Work Items"},{"line_number":364,"context_line":"----------"},{"line_number":365,"context_line":""},{"line_number":366,"context_line":"TBD"},{"line_number":367,"context_line":""},{"line_number":368,"context_line":""},{"line_number":369,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_18aab3d3","line":366,"range":{"start_line":366,"start_character":0,"end_line":366,"end_character":3},"updated":"2018-12-30 17:24:56.000000000","message":"Please detail the work items","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"0f86082938ba48f35f3855cd654a21947457b5dd","unresolved":false,"context_lines":[{"line_number":363,"context_line":"Work Items"},{"line_number":364,"context_line":"----------"},{"line_number":365,"context_line":""},{"line_number":366,"context_line":"TBD"},{"line_number":367,"context_line":""},{"line_number":368,"context_line":""},{"line_number":369,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f769fc5_431a807d","line":366,"range":{"start_line":366,"start_character":0,"end_line":366,"end_character":3},"in_reply_to":"1f769fc5_18aab3d3","updated":"2018-12-31 10:32:36.000000000","message":"Done","commit_id":"9ccb8f39c15e856dae6aa3e568e4ee3e64b4e384"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"3f3629ea2ea8cdf816f1c7221384f5d244f00d72","unresolved":false,"context_lines":[{"line_number":4,"context_line":""},{"line_number":5,"context_line":" http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":8,"context_line":"Prometheus Datasource Labels Mapping"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f769fc5_1ed13b55","line":7,"range":{"start_line":7,"start_character":36,"end_line":7,"end_character":40},"updated":"2018-12-31 11:04:12.000000000","message":"Extra \u003d\u003d\u003d\u003d","commit_id":"8cda86663244c570019217b23c05d0de7570b183"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"d2c52587c424558c40feecf21ff8b392be4a9901","unresolved":false,"context_lines":[{"line_number":4,"context_line":""},{"line_number":5,"context_line":" http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":8,"context_line":"Prometheus Datasource Labels Mapping"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f769fc5_bee60716","line":7,"range":{"start_line":7,"start_character":36,"end_line":7,"end_character":40},"in_reply_to":"1f769fc5_1ed13b55","updated":"2018-12-31 11:32:38.000000000","message":"Done","commit_id":"8cda86663244c570019217b23c05d0de7570b183"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"3f3629ea2ea8cdf816f1c7221384f5d244f00d72","unresolved":false,"context_lines":[{"line_number":80,"context_line":"Alerts based on libvirt metrics"},{"line_number":81,"context_line":"-------------------------------"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"All libvirt Alerts have the following labels:"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"* ``instance``: holds the hostname/ip of where the exporter is running"},{"line_number":86,"context_line":"* ``domain``: libvirt name that the exporter is scraping"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f769fc5_dec2e385","line":83,"range":{"start_line":83,"start_character":12,"end_line":83,"end_character":18},"updated":"2018-12-31 11:04:12.000000000","message":"alerts","commit_id":"8cda86663244c570019217b23c05d0de7570b183"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"d2c52587c424558c40feecf21ff8b392be4a9901","unresolved":false,"context_lines":[{"line_number":80,"context_line":"Alerts based on libvirt metrics"},{"line_number":81,"context_line":"-------------------------------"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"All libvirt Alerts have the following labels:"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"* ``instance``: holds the hostname/ip of where the exporter is running"},{"line_number":86,"context_line":"* ``domain``: libvirt name that the exporter is scraping"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f769fc5_dee3c304","line":83,"range":{"start_line":83,"start_character":12,"end_line":83,"end_character":18},"in_reply_to":"1f769fc5_dec2e385","updated":"2018-12-31 11:32:38.000000000","message":"Done","commit_id":"8cda86663244c570019217b23c05d0de7570b183"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"3f3629ea2ea8cdf816f1c7221384f5d244f00d72","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"Alert based on libvirt network metrics"},{"line_number":128,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"**Prometheus alert example**"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f769fc5_7ebf0ffb","line":128,"range":{"start_line":128,"start_character":38,"end_line":128,"end_character":39},"updated":"2018-12-31 11:04:12.000000000","message":"Extra ^","commit_id":"8cda86663244c570019217b23c05d0de7570b183"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"d2c52587c424558c40feecf21ff8b392be4a9901","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"Alert based on libvirt network metrics"},{"line_number":128,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"**Prometheus alert example**"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f769fc5_7ef06fca","line":128,"range":{"start_line":128,"start_character":38,"end_line":128,"end_character":39},"in_reply_to":"1f769fc5_7ebf0ffb","updated":"2018-12-31 11:32:38.000000000","message":"Done","commit_id":"8cda86663244c570019217b23c05d0de7570b183"}]}
