)]}'
{"doc/source/devref/gmr.rst":[{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"cd0706d8cbf827df1551dabef0e8ed9208b3767a","unresolved":false,"context_lines":[{"line_number":1,"context_line":".."},{"line_number":2,"context_line":"      Copyright (c) 2013 OpenStack Foundation"},{"line_number":3,"context_line":"      All Rights Reserved."},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"      Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba2be162_768f6ecc","line":2,"updated":"2017-03-02 02:19:40.000000000","message":"2017","commit_id":"640c306e729fbfa6fe026d4886997606d6a006e7"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"b7c006ad3169a1333fc182c108fd6a5ca334f001","unresolved":false,"context_lines":[{"line_number":1,"context_line":".."},{"line_number":2,"context_line":"      Copyright (c) 2013 OpenStack Foundation"},{"line_number":3,"context_line":"      All Rights Reserved."},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"      Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba2be162_4255414e","line":2,"in_reply_to":"ba2be162_768f6ecc","updated":"2017-03-02 09:10:59.000000000","message":"Done","commit_id":"640c306e729fbfa6fe026d4886997606d6a006e7"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"cd0706d8cbf827df1551dabef0e8ed9208b3767a","unresolved":false,"context_lines":[{"line_number":54,"context_line":"  Lists all the configuration options currently accessible via the CONF object"},{"line_number":55,"context_line":"  for the current process"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"Adding Support for GMRs to New Executables"},{"line_number":58,"context_line":"------------------------------------------"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Adding support for a *GMR* to a given executable is fairly easy."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"First import the module (currently residing in oslo-incubator), as well as the"},{"line_number":63,"context_line":"Zaqar version module:"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":".. code-block:: python"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"      from oslo_reports import guru_meditation_report as gmr"},{"line_number":68,"context_line":"      from zaqar import version"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"Then, register any additional sections (optional):"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":".. code-block:: python"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"      TextGuruMeditation.register_section(\u0027Some Special Section\u0027,"},{"line_number":75,"context_line":"                                          some_section_generator)"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"Finally (under main), before running the \"main loop\" of the executable"},{"line_number":78,"context_line":"(usually ``service.server(server)`` or something similar), register the *GMR*"},{"line_number":79,"context_line":"hook:"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":".. code-block:: python"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"      TextGuruMeditation.setup_autorun(version)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"Extending the GMR"},{"line_number":86,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba2be162_76a68e54","line":83,"range":{"start_line":57,"start_character":0,"end_line":83,"end_character":47},"updated":"2017-03-02 02:19:40.000000000","message":"this section is not necessary IMO.","commit_id":"640c306e729fbfa6fe026d4886997606d6a006e7"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"b7c006ad3169a1333fc182c108fd6a5ca334f001","unresolved":false,"context_lines":[{"line_number":54,"context_line":"  Lists all the configuration options currently accessible via the CONF object"},{"line_number":55,"context_line":"  for the current process"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"Adding Support for GMRs to New Executables"},{"line_number":58,"context_line":"------------------------------------------"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Adding support for a *GMR* to a given executable is fairly easy."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"First import the module (currently residing in oslo-incubator), as well as the"},{"line_number":63,"context_line":"Zaqar version module:"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":".. code-block:: python"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"      from oslo_reports import guru_meditation_report as gmr"},{"line_number":68,"context_line":"      from zaqar import version"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"Then, register any additional sections (optional):"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":".. code-block:: python"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"      TextGuruMeditation.register_section(\u0027Some Special Section\u0027,"},{"line_number":75,"context_line":"                                          some_section_generator)"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"Finally (under main), before running the \"main loop\" of the executable"},{"line_number":78,"context_line":"(usually ``service.server(server)`` or something similar), register the *GMR*"},{"line_number":79,"context_line":"hook:"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":".. code-block:: python"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"      TextGuruMeditation.setup_autorun(version)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"Extending the GMR"},{"line_number":86,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba2be162_62224503","line":83,"range":{"start_line":57,"start_character":0,"end_line":83,"end_character":47},"in_reply_to":"ba2be162_76a68e54","updated":"2017-03-02 09:10:59.000000000","message":"OK","commit_id":"640c306e729fbfa6fe026d4886997606d6a006e7"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"8477afff8c386100c2e1944c32332abfd3b73822","unresolved":false,"context_lines":[{"line_number":37,"context_line":"For uwsgi mode, user should add a configuration in Zaqar\u0027s conf file::"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    [oslo_reports]"},{"line_number":40,"context_line":"    file_event_handler\u003d[\u0027The path to a file to watch for changes to trigger \u0027"},{"line_number":41,"context_line":"                        \u0027the reports, instead of signals. Setting this option \u0027"},{"line_number":42,"context_line":"                        \u0027disables the signal trigger for the reports.\u0027]"},{"line_number":43,"context_line":"    file_event_handler_interval\u003d[\u0027How many seconds to wait between polls when \u0027"},{"line_number":44,"context_line":"                                 \u0027file_event_handler is set, default value \u0027"},{"line_number":45,"context_line":"                                 \u0027is 1\u0027]"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"a *GMR* can be generated by \"touch\"ing the file which was specified in"},{"line_number":48,"context_line":"file_event_handler. The *GMR* will then output to standard error for"}],"source_content_type":"text/x-rst","patch_set":8,"id":"9a30ddce_7db73186","line":45,"range":{"start_line":40,"start_character":0,"end_line":45,"end_character":40},"updated":"2017-03-09 02:19:13.000000000","message":"Could you give an example value here? Users may confuse about how to fill it.\n\nfile_event_handler\u003d/tmp/guru_report\nfile_event_handler_interval\u003d1","commit_id":"2c0715e67d8d5748b73ae5ed396651904dfcff79"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"db09e763de452f0b11716ded94af2dd696e006de","unresolved":false,"context_lines":[{"line_number":37,"context_line":"For uwsgi mode, user should add a configuration in Zaqar\u0027s conf file::"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    [oslo_reports]"},{"line_number":40,"context_line":"    file_event_handler\u003d[\u0027The path to a file to watch for changes to trigger \u0027"},{"line_number":41,"context_line":"                        \u0027the reports, instead of signals. Setting this option \u0027"},{"line_number":42,"context_line":"                        \u0027disables the signal trigger for the reports.\u0027]"},{"line_number":43,"context_line":"    file_event_handler_interval\u003d[\u0027How many seconds to wait between polls when \u0027"},{"line_number":44,"context_line":"                                 \u0027file_event_handler is set, default value \u0027"},{"line_number":45,"context_line":"                                 \u0027is 1\u0027]"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"a *GMR* can be generated by \"touch\"ing the file which was specified in"},{"line_number":48,"context_line":"file_event_handler. The *GMR* will then output to standard error for"}],"source_content_type":"text/x-rst","patch_set":8,"id":"9a30ddce_402c4602","line":45,"range":{"start_line":40,"start_character":0,"end_line":45,"end_character":40},"in_reply_to":"9a30ddce_7db73186","updated":"2017-03-09 02:47:45.000000000","message":"sure","commit_id":"2c0715e67d8d5748b73ae5ed396651904dfcff79"}]}
