)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"f14ad68abae6bcf7aabe7c38c364229d64a820b3","unresolved":false,"context_lines":[{"line_number":10,"context_line":"have aggregate metrics, this patch adds those aggregate metrics"},{"line_number":11,"context_line":"for each instance."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Document for Ceilometer mearsurements should be updated in OpenStack"},{"line_number":14,"context_line":"Manual."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"DocImpact"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"3a50d1a3_b5f18b6c","line":13,"updated":"2015-07-27 12:15:37.000000000","message":"measurements","commit_id":"ba0449538afdeead095831675e8d6204bc303256"}],"ceilometer/compute/pollsters/net.py":[{"author":{"_account_id":7052,"name":"Fabio Giannetti","email":"fgiannet@cisco.com","username":"fabgia"},"change_message_id":"67fefe9f868af2f3dfdd0e269709f214a0cfe603","unresolved":false,"context_lines":[{"line_number":101,"context_line":"            for vnic, info in self._get_vnic_info(inspector, instance):"},{"line_number":102,"context_line":"                LOG.debug(self.NET_USAGE_MESSAGE, instance_name,"},{"line_number":103,"context_line":"                          vnic.name, info.rx_bytes, info.tx_bytes)"},{"line_number":104,"context_line":"                rx_bytes +\u003d info.rx_bytes"},{"line_number":105,"context_line":"                tx_bytes +\u003d info.tx_bytes"},{"line_number":106,"context_line":"                rx_packets +\u003d info.rx_packets"},{"line_number":107,"context_line":"                tx_packets +\u003d info.tx_packets"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_b6304808","line":104,"updated":"2015-01-14 16:21:23.000000000","message":"The aggregation should be performed at the API level. We already have things like statistics that support sum, avg etc. Could you please articulate why this computation cannot be executed there?","commit_id":"c7f1bc6899067fa1f611ad52b3aec671b5e897fa"},{"author":{"_account_id":6676,"name":"zqfan","email":"aji.zqfan@gmail.com","username":"aji-zqfan"},"change_message_id":"9d15ad39f2c57de700fb3596a7ef8594287960c0","unresolved":false,"context_lines":[{"line_number":101,"context_line":"            for vnic, info in self._get_vnic_info(inspector, instance):"},{"line_number":102,"context_line":"                LOG.debug(self.NET_USAGE_MESSAGE, instance_name,"},{"line_number":103,"context_line":"                          vnic.name, info.rx_bytes, info.tx_bytes)"},{"line_number":104,"context_line":"                rx_bytes +\u003d info.rx_bytes"},{"line_number":105,"context_line":"                tx_bytes +\u003d info.tx_bytes"},{"line_number":106,"context_line":"                rx_packets +\u003d info.rx_packets"},{"line_number":107,"context_line":"                tx_packets +\u003d info.tx_packets"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_18605834","line":104,"in_reply_to":"3a961159_b6304808","updated":"2015-01-15 02:05:00.000000000","message":"same as what we\u0027ve done for disk io\n\nso without sum metrics, here is what an end user need to do;\n\nknow how many nics in a vm, or the interval of network metric\n\n1.1. to know nic count of a specific vm, he need to request nova to get vm info, or ceilometer resource then parse metadata, if he doesn\u0027t do so, each vm may have different nic count, or if an vm nic count change, then it will not work.\n\n1.2. request ceilometer sample api, limit or slice to the nic count, then calculate to get the sum. for newest data, it is safe, for history data, it is danger if he stands on the sharp sample generate time point.\n\nsay we have 3 nics, generate time is 11:59:59.999999, 12:00:00.000000, 12:00:00.000001, if we at the time of (internet time lag) or just specify it to 12:00:00.000000, then the result is not right.\n\n2.1. to know interval, he can request ceilometer api to observe the interval, or the cloud admin tells him, if he doesn\u0027t do so, if interval change (in different deploy, that can be different, depends on vendors, in advanced system, different projects or vms have different intervals), then it will not work properly\n\n2.2. request ceilometer statistic api, limit the time range, to enable lags, he should give a proper time gap (for i.e. half of that interval); period is another choice, then get the sum. this way is danger if user stand on the sharp sample generate time point. \n\n\nwith this patch, he can directly request ceilometer api to get a specific vm\u0027s total networking io at a giving time\n\nwith this patch, database disk space cost will increase, system burden will increase, but I don\u0027t think it is a good idea to tell our users they should learn and do more, and be risk just because our disk space/system performance is limited.\n\nthe more important thing: convenience","commit_id":"c7f1bc6899067fa1f611ad52b3aec671b5e897fa"}],"ceilometer/tests/unit/compute/pollsters/test_net.py":[{"author":{"_account_id":10987,"name":"Igor Degtiarov","username":"tovstun","inactive":true},"change_message_id":"b4d99e674ade3f8317879784971e0e826cd18e93","unresolved":false,"context_lines":[{"line_number":191,"context_line":"    def test_incoming_bytes_aggregate(self):"},{"line_number":192,"context_line":"        expected \u003d {"},{"line_number":193,"context_line":"            \u0027name\u0027: \u0027network.incoming.bytes.aggregate\u0027,"},{"line_number":194,"context_line":"            \u0027volume\u0027: 15L,"},{"line_number":195,"context_line":"        }"},{"line_number":196,"context_line":"        self._check_get_aggregate_samples("},{"line_number":197,"context_line":"            net.IncomingBytesAggregatePollster, expected)"}],"source_content_type":"text/x-python","patch_set":8,"id":"da20952f_0dddfc41","line":194,"updated":"2015-09-02 18:17:29.000000000","message":"there is no Long type in python3, it seems that you can use here six.integer_type for correlation between python2 and python3","commit_id":"2795bbc1fe9fbad9da101e9508046e04023c5304"}]}
