)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"ff71a6cc58cc20707edd6c37fd884cb59322dd7b","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Ilya Tyaptin \u003cityaptin@mirantis.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-10-24 17:34:57 +0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add a performance tests\u0027 tool for Gnochci dispatcher"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Create instance samples for Gnocchi dispatcher and meter"},{"line_number":10,"context_line":"processing time."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"9aa7fdbe_792dc4fd","line":7,"updated":"2014-10-25 12:35:54.000000000","message":"Gnocchi","commit_id":"9a7f86b5126936e86f4cf5c76a85ac82dc9e3a92"}],"tools/README.rst":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"ff71a6cc58cc20707edd6c37fd884cb59322dd7b","unresolved":false,"context_lines":[{"line_number":12,"context_line":"implemented Gnocchi Ceilometer database dispatcher. This aims to approximate"},{"line_number":13,"context_line":"amount of samples that might be processed by Gnocchi + Ceilometer."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"To run these tests you will need to have lab with both Ceilometer and Gnocchi"},{"line_number":16,"context_line":"installed and configured (please use instructions from the parent README.rst"},{"line_number":17,"context_line":"file)."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"9aa7fdbe_b933ac60","line":15,"updated":"2014-10-25 12:35:54.000000000","message":"a lab","commit_id":"9a7f86b5126936e86f4cf5c76a85ac82dc9e3a92"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"3ffc25725449b235e82c5231cc3c1c585ae1b33b","unresolved":false,"context_lines":[{"line_number":13,"context_line":"amount of samples that might be processed by Gnocchi + Ceilometer."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"To run these tests you will need to have a lab with both Ceilometer and "},{"line_number":16,"context_line":"Gnocchi installed and configured (please use instructions from the parent "},{"line_number":17,"context_line":"README.rst file)."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"To run performance benchmarking use the following command:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9aa7fdbe_0947f377","line":16,"updated":"2014-10-27 15:24:01.000000000","message":"whitespaces","commit_id":"a75c6c7c86b626dffe38ce18e5c1157495c99f85"},{"author":{"_account_id":10987,"name":"Igor Degtiarov","username":"tovstun","inactive":true},"change_message_id":"e3f39135ccc65b01c9cd52f71af6ae8de5a99f1b","unresolved":false,"context_lines":[{"line_number":12,"context_line":"implemented Gnocchi Ceilometer database dispatcher. This aims to approximate"},{"line_number":13,"context_line":"amount of samples that might be processed by Gnocchi + Ceilometer."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"To run these tests you will need to have a lab with both Ceilometer and "},{"line_number":16,"context_line":"Gnocchi installed and configured (please use instructions from the parent "},{"line_number":17,"context_line":"README.rst file)."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5a890539_dbe128d1","line":15,"updated":"2014-12-04 09:37:17.000000000","message":"redundant space?","commit_id":"6ee75ab6fa3a292e3ba4d88ba3c7fd1885c15313"}],"tools/gnocchi_dispatcher_perf_tests.py":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"3ffc25725449b235e82c5231cc3c1c585ae1b33b","unresolved":false,"context_lines":[{"line_number":49,"context_line":"def dump_data(log_file, timedata):"},{"line_number":50,"context_line":"    with open(log_file, \u0027w\u0027) as f:"},{"line_number":51,"context_line":"        for timelog in timedata:"},{"line_number":52,"context_line":"            f.write(\"%s\\n\" % \" \".join(str(t) for t in timelog))"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"RESOURCE_METADATA \u003d {\u0027instance\u0027: {\u0027host\u0027: \u0027localhost\u0027,"}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa7fdbe_89520333","line":52,"updated":"2014-10-27 15:24:01.000000000","message":"nitpick:\n\nf.write(\" \".join(...))\n\nf.write(\"\\n\")\n\nlikely faster then formatting a new string :)","commit_id":"a75c6c7c86b626dffe38ce18e5c1157495c99f85"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"3ffc25725449b235e82c5231cc3c1c585ae1b33b","unresolved":false,"context_lines":[{"line_number":91,"context_line":"    batch \u003d []"},{"line_number":92,"context_line":"    resource_metadata \u003d prepare_resource_metadata(name)"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    resources \u003d [uuid.uuid4().hex for _ in xrange(resource_count)]"},{"line_number":95,"context_line":"    logdata \u003d []"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"    while timestamp \u003c\u003d end:"}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa7fdbe_0c0c613a","line":94,"updated":"2014-10-27 15:24:01.000000000","message":"six.range","commit_id":"a75c6c7c86b626dffe38ce18e5c1157495c99f85"},{"author":{"_account_id":7478,"name":"Nadya Shakhat","email":"nadmi4@gmail.com","username":"nprivalova"},"change_message_id":"ed8e55c559d12d47f5586e60c7abf21c2e91ea85","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/usr/bin/env python"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Copyright 2012 New Dream Network, LLC (DreamHost)"},{"line_number":4,"context_line":"#"},{"line_number":5,"context_line":"# Author: Doug Hellmann \u003cdoug.hellmann@dreamhost.com\u003e"}],"source_content_type":"text/x-python","patch_set":6,"id":"5a890539_e3bf4da9","line":2,"updated":"2014-12-03 13:32:06.000000000","message":"Ilya, please remove the lines below :) Or Doug was helping you? :)","commit_id":"6ee75ab6fa3a292e3ba4d88ba3c7fd1885c15313"},{"author":{"_account_id":7478,"name":"Nadya Shakhat","email":"nadmi4@gmail.com","username":"nprivalova"},"change_message_id":"ed8e55c559d12d47f5586e60c7abf21c2e91ea85","unresolved":false,"context_lines":[{"line_number":17,"context_line":"# under the License."},{"line_number":18,"context_line":"#"},{"line_number":19,"context_line":"# ceilometer.tools.make_test_data file was used as a base for this module"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"\"\"\"Command line tool for creating test data for Gnocchi."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Usage:"}],"source_content_type":"text/x-python","patch_set":6,"id":"5a890539_0370d906","line":20,"updated":"2014-12-03 13:32:06.000000000","message":"I think it\u0027s better to change to change \"for Gnocchi\" to \"For Gnocchi dispatcher in Ceilometer\"","commit_id":"6ee75ab6fa3a292e3ba4d88ba3c7fd1885c15313"},{"author":{"_account_id":7478,"name":"Nadya Shakhat","email":"nadmi4@gmail.com","username":"nprivalova"},"change_message_id":"ed8e55c559d12d47f5586e60c7abf21c2e91ea85","unresolved":false,"context_lines":[{"line_number":74,"context_line":"                   end, interval, log_file,"},{"line_number":75,"context_line":"                   source\u003d\u0027artificial\u0027,"},{"line_number":76,"context_line":"                   batch_size\u003d1, resource_count\u003d10,):"},{"line_number":77,"context_line":"    # Compute start and end timestamps for the new data."},{"line_number":78,"context_line":"    if isinstance(start, datetime.datetime):"},{"line_number":79,"context_line":"        timestamp \u003d start"},{"line_number":80,"context_line":"    else:"}],"source_content_type":"text/x-python","patch_set":6,"id":"5a890539_1e89106f","line":77,"updated":"2014-12-03 13:32:06.000000000","message":"Why do you use different approaches to compute start and end? Just a suggestion:\n\n  if not isinstance(start, datetime.datetime):\n    start \u003d timeutils.parse_strtime(start)\n\n  if not isinstance(end, datetime.datetime):\n    end \u003d timeutils.parse_strtime(end)\n  \n  timestamp \u003d start","commit_id":"6ee75ab6fa3a292e3ba4d88ba3c7fd1885c15313"},{"author":{"_account_id":10987,"name":"Igor Degtiarov","username":"tovstun","inactive":true},"change_message_id":"e3f39135ccc65b01c9cd52f71af6ae8de5a99f1b","unresolved":false,"context_lines":[{"line_number":74,"context_line":"                   end, interval, log_file,"},{"line_number":75,"context_line":"                   source\u003d\u0027artificial\u0027,"},{"line_number":76,"context_line":"                   batch_size\u003d1, resource_count\u003d10,):"},{"line_number":77,"context_line":"    # Compute start and end timestamps for the new data."},{"line_number":78,"context_line":"    if isinstance(start, datetime.datetime):"},{"line_number":79,"context_line":"        timestamp \u003d start"},{"line_number":80,"context_line":"    else:"}],"source_content_type":"text/x-python","patch_set":6,"id":"5a890539_71ef75b1","line":77,"in_reply_to":"5a890539_1e89106f","updated":"2014-12-04 09:37:17.000000000","message":"Good point from Nadya","commit_id":"6ee75ab6fa3a292e3ba4d88ba3c7fd1885c15313"},{"author":{"_account_id":7478,"name":"Nadya Shakhat","email":"nadmi4@gmail.com","username":"nprivalova"},"change_message_id":"ed8e55c559d12d47f5586e60c7abf21c2e91ea85","unresolved":false,"context_lines":[{"line_number":146,"context_line":"    parser.add_argument("},{"line_number":147,"context_line":"        \u0027--interval\u0027,"},{"line_number":148,"context_line":"        default\u003d10,"},{"line_number":149,"context_line":"        type\u003dint,"},{"line_number":150,"context_line":"        help\u003d\u0027The period between events, in minutes.\u0027,"},{"line_number":151,"context_line":"    )"},{"line_number":152,"context_line":"    parser.add_argument("}],"source_content_type":"text/x-python","patch_set":6,"id":"5a890539_5e7e38e5","line":149,"updated":"2014-12-03 13:32:06.000000000","message":"Maybe \"The period between data sending\" is better?","commit_id":"6ee75ab6fa3a292e3ba4d88ba3c7fd1885c15313"}]}
