)]}'
{"doc/source/contributor/prometheus-datasource.rst":[{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"65e7a9109afee399eb7e6126f4f75d2f87068084","unresolved":false,"context_lines":[{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"This document describes how to configure Prometheus datasource properly."},{"line_number":6,"context_line":"Prometheus is an open-source systems monitoring and alerting toolkit, with exporters that exports different metrics to Prometheus."},{"line_number":7,"context_line":"The Alertmanager handles alerts sent by Prometheus server."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"bfdaf3ff_e3d49c22","line":6,"range":{"start_line":6,"start_character":90,"end_line":6,"end_character":97},"updated":"2019-01-17 14:28:02.000000000","message":"export. And please make the line shorter.","commit_id":"d522ad2c7065125c8937300abfe9d57a88b88efb"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"e8bb867b45b0e1a40fdd616e5e54737eb547c2ec","unresolved":false,"context_lines":[{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"This document describes how to configure Prometheus datasource properly."},{"line_number":6,"context_line":"Prometheus is an open-source systems monitoring and alerting toolkit, with exporters that exports different metrics to Prometheus."},{"line_number":7,"context_line":"The Alertmanager handles alerts sent by Prometheus server."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"bfdaf3ff_e3bfbc5e","line":6,"range":{"start_line":6,"start_character":90,"end_line":6,"end_character":97},"in_reply_to":"bfdaf3ff_e3d49c22","updated":"2019-01-17 16:46:37.000000000","message":"Done","commit_id":"d522ad2c7065125c8937300abfe9d57a88b88efb"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"65e7a9109afee399eb7e6126f4f75d2f87068084","unresolved":false,"context_lines":[{"line_number":16,"context_line":"Step 1 - Configure Alertmanager"},{"line_number":17,"context_line":"-------------------------------"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Vitrage receives Prometheus alerts from through event api using basic authentication."},{"line_number":20,"context_line":"Basic authentication is done by an Openstack administrator user."},{"line_number":21,"context_line":"In order to configure Prometheus to send alerts to Vitrage, add a webhook receiver in Alertmanager."},{"line_number":22,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"bfdaf3ff_43eb28db","line":19,"range":{"start_line":19,"start_character":35,"end_line":19,"end_character":39},"updated":"2019-01-17 14:28:02.000000000","message":"You can drop the \u0027from\u0027","commit_id":"d522ad2c7065125c8937300abfe9d57a88b88efb"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"e8bb867b45b0e1a40fdd616e5e54737eb547c2ec","unresolved":false,"context_lines":[{"line_number":16,"context_line":"Step 1 - Configure Alertmanager"},{"line_number":17,"context_line":"-------------------------------"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Vitrage receives Prometheus alerts from through event api using basic authentication."},{"line_number":20,"context_line":"Basic authentication is done by an Openstack administrator user."},{"line_number":21,"context_line":"In order to configure Prometheus to send alerts to Vitrage, add a webhook receiver in Alertmanager."},{"line_number":22,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"bfdaf3ff_a3b53480","line":19,"range":{"start_line":19,"start_character":35,"end_line":19,"end_character":39},"in_reply_to":"bfdaf3ff_43eb28db","updated":"2019-01-17 16:46:37.000000000","message":"Done","commit_id":"d522ad2c7065125c8937300abfe9d57a88b88efb"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"65e7a9109afee399eb7e6126f4f75d2f87068084","unresolved":false,"context_lines":[{"line_number":32,"context_line":"            password: \u0027admin\u0027"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"``url`` is the url of Vitrage event api."},{"line_number":36,"context_line":"Set ``send_resolved`` to be true to ensure to get when alerts are resolved."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"bfdaf3ff_03c3e05e","line":35,"range":{"start_line":35,"start_character":0,"end_line":35,"end_character":40},"updated":"2019-01-17 14:28:02.000000000","message":"Maybe explain how the user can know what it is - by running \u0027openstack endpoint list\u0027 or something like that.","commit_id":"d522ad2c7065125c8937300abfe9d57a88b88efb"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"e8bb867b45b0e1a40fdd616e5e54737eb547c2ec","unresolved":false,"context_lines":[{"line_number":32,"context_line":"            password: \u0027admin\u0027"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"``url`` is the url of Vitrage event api."},{"line_number":36,"context_line":"Set ``send_resolved`` to be true to ensure to get when alerts are resolved."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"bfdaf3ff_cf43b912","line":35,"range":{"start_line":35,"start_character":0,"end_line":35,"end_character":40},"in_reply_to":"bfdaf3ff_03c3e05e","updated":"2019-01-17 16:46:37.000000000","message":"Done","commit_id":"d522ad2c7065125c8937300abfe9d57a88b88efb"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"65e7a9109afee399eb7e6126f4f75d2f87068084","unresolved":false,"context_lines":[{"line_number":49,"context_line":"Step 3 - Map Prometheus alerts to Vitrage resources"},{"line_number":50,"context_line":"---------------------------------------------------"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"A configuration file that maps the Prometheus alert labels to a corresponding Vitrage resource with specific properties (id or other unique properties)."},{"line_number":53,"context_line":"The mapping will most likely be defined by the alert name and other fields."},{"line_number":54,"context_line":"Set the location of the alerts mapping in ``/etc/vitrage/vitrage.conf``  ::"},{"line_number":55,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"bfdaf3ff_03a8c08a","line":52,"range":{"start_line":52,"start_character":0,"end_line":52,"end_character":152},"updated":"2019-01-17 14:28:02.000000000","message":"Please make this line shorter","commit_id":"d522ad2c7065125c8937300abfe9d57a88b88efb"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"e8bb867b45b0e1a40fdd616e5e54737eb547c2ec","unresolved":false,"context_lines":[{"line_number":49,"context_line":"Step 3 - Map Prometheus alerts to Vitrage resources"},{"line_number":50,"context_line":"---------------------------------------------------"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"A configuration file that maps the Prometheus alert labels to a corresponding Vitrage resource with specific properties (id or other unique properties)."},{"line_number":53,"context_line":"The mapping will most likely be defined by the alert name and other fields."},{"line_number":54,"context_line":"Set the location of the alerts mapping in ``/etc/vitrage/vitrage.conf``  ::"},{"line_number":55,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"bfdaf3ff_cfce59b3","line":52,"range":{"start_line":52,"start_character":0,"end_line":52,"end_character":152},"in_reply_to":"bfdaf3ff_03a8c08a","updated":"2019-01-17 16:46:37.000000000","message":"Done","commit_id":"d522ad2c7065125c8937300abfe9d57a88b88efb"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"65e7a9109afee399eb7e6126f4f75d2f87068084","unresolved":false,"context_lines":[{"line_number":114,"context_line":"    }"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"The mapping alerts file looks like this  ::"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"    alerts:"},{"line_number":120,"context_line":"    - key:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bfdaf3ff_837cb01f","line":117,"range":{"start_line":117,"start_character":0,"end_line":117,"end_character":43},"updated":"2019-01-17 14:28:02.000000000","message":"Please add one more sentence at the end, that in this example the alert that is identified with bla bla... will be mapped to a resource with the following properties:\ninstance_name: \"instance-00000004\"\nhost_id: \"1.1.1.1:9999\"","commit_id":"d522ad2c7065125c8937300abfe9d57a88b88efb"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"e8bb867b45b0e1a40fdd616e5e54737eb547c2ec","unresolved":false,"context_lines":[{"line_number":114,"context_line":"    }"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"The mapping alerts file looks like this  ::"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"    alerts:"},{"line_number":120,"context_line":"    - key:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bfdaf3ff_efd31d5f","line":117,"range":{"start_line":117,"start_character":0,"end_line":117,"end_character":43},"in_reply_to":"bfdaf3ff_837cb01f","updated":"2019-01-17 16:46:37.000000000","message":"Done","commit_id":"d522ad2c7065125c8937300abfe9d57a88b88efb"}]}
