)]}'
{"monasca_transform/transform/transform_utils.py":[{"author":{"_account_id":10311,"name":"Joseph Davis","email":"joseph.davis@suse.com","username":"joadavis"},"change_message_id":"b1713bac3ef706863a57cc861bfa36d20d228cca","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        \"\"\"get instance usage schema.\"\"\""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        # Initialize columns for all string fields"},{"line_number":48,"context_line":"        # TODO(ashwin): remove dimension fields"},{"line_number":49,"context_line":"        columns \u003d [\"tenant_id\", \"user_id\", \"resource_uuid\","},{"line_number":50,"context_line":"                   \"geolocation\", \"region\", \"zone\", \"host\", \"project_id\","},{"line_number":51,"context_line":"                   \"aggregated_metric_name\", \"firstrecord_timestamp_string\","}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_0b8196c2","line":48,"updated":"2018-07-17 21:01:48.000000000","message":"You might mention why the dimension fields can be removed. Not critical, because there is a note further down that dimensions are in the record_store data.","commit_id":"44d0ae968beca938d2d574c2a7e3e2d65c7e1654"},{"author":{"_account_id":11580,"name":"Ashwin Agate","email":"agateaaa@gmail.com","username":"agateaaa"},"change_message_id":"f372afe55423eed60ebf5ac59e96aecbe75b007e","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        \"\"\"get instance usage schema.\"\"\""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        # Initialize columns for all string fields"},{"line_number":48,"context_line":"        # TODO(ashwin): remove dimension fields"},{"line_number":49,"context_line":"        columns \u003d [\"tenant_id\", \"user_id\", \"resource_uuid\","},{"line_number":50,"context_line":"                   \"geolocation\", \"region\", \"zone\", \"host\", \"project_id\","},{"line_number":51,"context_line":"                   \"aggregated_metric_name\", \"firstrecord_timestamp_string\","}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_01e5f7da","line":48,"in_reply_to":"5f7c97a3_0b8196c2","updated":"2018-07-17 22:39:35.000000000","message":"Thx! I will remove this TODO, I did already remove all the dimensions fields like pod etc","commit_id":"44d0ae968beca938d2d574c2a7e3e2d65c7e1654"},{"author":{"_account_id":11580,"name":"Ashwin Agate","email":"agateaaa@gmail.com","username":"agateaaa"},"change_message_id":"f372afe55423eed60ebf5ac59e96aecbe75b007e","unresolved":false,"context_lines":[{"line_number":191,"context_line":"    def _get_record_store_df_schema():"},{"line_number":192,"context_line":"        \"\"\"get instance usage schema.\"\"\""},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"        # TODO(ashwin): remove dimension fields"},{"line_number":195,"context_line":"        columns \u003d [\"event_timestamp_string\","},{"line_number":196,"context_line":"                   \"event_type\", \"event_quantity_name\","},{"line_number":197,"context_line":"                   \"event_status\", \"event_version\","}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_81d027f6","line":194,"range":{"start_line":194,"start_character":24,"end_line":194,"end_character":30},"updated":"2018-07-17 22:39:35.000000000","message":"I will remove this TODO, I did already remove all the dimensions fields like pod etc","commit_id":"44d0ae968beca938d2d574c2a7e3e2d65c7e1654"}],"tests/functional/test_resources/fetch_quantity_util_second_stage/kafka_data.txt":[{"author":{"_account_id":10311,"name":"Joseph Davis","email":"joseph.davis@suse.com","username":"joadavis"},"change_message_id":"b1713bac3ef706863a57cc861bfa36d20d228cca","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{\"usage_hour\": \"16\", \"geolocation\": \"all\", \"record_count\": 23.0, \"resource_uuid\": \"all\", \"usage_minute\": \"all\", \"service_group\": \"all\", \"lastrecord_timestamp_string\": \"2016-03-07 16:10:38\", \"user_id\": \"all\", \"zone\": \"all\", \"usage_date\": \"2016-03-07\", \"processing_meta\": {\"metric_id\": \"cpu_util_all\"}, \"firstrecord_timestamp_unix\": 1457366963.0, \"project_id\": \"all\", \"lastrecord_timestamp_unix\": 1457367038.0, \"aggregation_period\": \"prehourly\", \"host\": \"all\", \"aggregated_metric_name\": \"cpu.utilized_logical_cores_agg\", \"tenant_id\": \"all\", \"region\": \"all\", \"firstrecord_timestamp_string\": \"2016-03-07 16:09:23\",\"quantity\": 9.0}"},{"line_number":2,"context_line":"{\"usage_hour\": \"12\", \"geolocation\": \"all\", \"record_count\": 19.0, \"resource_uuid\": \"all\", \"usage_minute\": \"all\", \"service_group\": \"all\", \"lastrecord_timestamp_string\": \"2016-03-07 16:11:53\", \"user_id\": \"all\", \"zone\": \"all\", \"usage_date\": \"2016-03-07\", \"processing_meta\": {\"metric_id\": \"cpu_util_all\"}, \"firstrecord_timestamp_unix\": 1457367038.0, \"project_id\": \"all\", \"lastrecord_timestamp_unix\": 1457367113.0, \"aggregation_period\": \"prehourly\", \"host\": \"all\", \"aggregated_metric_name\": \"cpu.utilized_logical_cores_agg\", \"tenant_id\": \"all\", \"region\": \"all\", \"firstrecord_timestamp_string\": \"2016-03-07 16:10:38\",\"quantity\": 1.0}"},{"line_number":3,"context_line":"{\"usage_hour\": \"18\", \"geolocation\": \"all\", \"record_count\": 15.0, \"resource_uuid\": \"all\", \"usage_minute\": \"all\", \"service_group\": \"all\", \"lastrecord_timestamp_string\": \"2016-03-07 16:12:53\", \"user_id\": \"all\", \"zone\": \"all\", \"usage_date\": \"2016-03-07\", \"processing_meta\": {\"metric_id\": \"cpu_util_all\"}, \"firstrecord_timestamp_unix\": 1457367113.0, \"project_id\": \"all\", \"lastrecord_timestamp_unix\": 1457367173.0, \"aggregation_period\": \"prehourly\", \"host\": \"all\", \"aggregated_metric_name\": \"cpu.utilized_logical_cores_agg\", \"tenant_id\": \"all\", \"region\": \"all\", \"firstrecord_timestamp_string\": \"2016-03-07 16:11:53\",\"quantity\": 12.0}"},{"line_number":4,"context_line":"{\"usage_hour\": \"10\", \"geolocation\": \"all\", \"record_count\": 29.0, \"resource_uuid\": \"all\", \"usage_minute\": \"all\", \"service_group\": \"all\", \"lastrecord_timestamp_string\": \"2016-03-07 16:13:53\", \"user_id\": \"all\", \"zone\": \"all\", \"usage_date\": \"2016-03-07\", \"processing_meta\": {\"metric_id\": \"cpu_util_all\"}, \"firstrecord_timestamp_unix\": 1457367173.0, \"project_id\": \"all\", \"lastrecord_timestamp_unix\": 1457367233.0, \"aggregation_period\": \"prehourly\", \"host\": \"all\", \"aggregated_metric_name\": \"cpu.utilized_logical_cores_agg\", \"tenant_id\": \"all\", \"region\": \"all\", \"firstrecord_timestamp_string\": \"2016-03-07 16:12:53\",\"quantity\": 5.0}"}],"source_content_type":"text/plain","patch_set":8,"id":"5f7c97a3_6bddaadc","line":1,"updated":"2018-07-17 21:01:48.000000000","message":"looks like it also lost a space between the , and the \"quantity\".  Still valid json.","commit_id":"44d0ae968beca938d2d574c2a7e3e2d65c7e1654"},{"author":{"_account_id":11580,"name":"Ashwin Agate","email":"agateaaa@gmail.com","username":"agateaaa"},"change_message_id":"f372afe55423eed60ebf5ac59e96aecbe75b007e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{\"usage_hour\": \"16\", \"geolocation\": \"all\", \"record_count\": 23.0, \"resource_uuid\": \"all\", \"usage_minute\": \"all\", \"service_group\": \"all\", \"lastrecord_timestamp_string\": \"2016-03-07 16:10:38\", \"user_id\": \"all\", \"zone\": \"all\", \"usage_date\": \"2016-03-07\", \"processing_meta\": {\"metric_id\": \"cpu_util_all\"}, \"firstrecord_timestamp_unix\": 1457366963.0, \"project_id\": \"all\", \"lastrecord_timestamp_unix\": 1457367038.0, \"aggregation_period\": \"prehourly\", \"host\": \"all\", \"aggregated_metric_name\": \"cpu.utilized_logical_cores_agg\", \"tenant_id\": \"all\", \"region\": \"all\", \"firstrecord_timestamp_string\": \"2016-03-07 16:09:23\",\"quantity\": 9.0}"},{"line_number":2,"context_line":"{\"usage_hour\": \"12\", \"geolocation\": \"all\", \"record_count\": 19.0, \"resource_uuid\": \"all\", \"usage_minute\": \"all\", \"service_group\": \"all\", \"lastrecord_timestamp_string\": \"2016-03-07 16:11:53\", \"user_id\": \"all\", \"zone\": \"all\", \"usage_date\": \"2016-03-07\", \"processing_meta\": {\"metric_id\": \"cpu_util_all\"}, \"firstrecord_timestamp_unix\": 1457367038.0, \"project_id\": \"all\", \"lastrecord_timestamp_unix\": 1457367113.0, \"aggregation_period\": \"prehourly\", \"host\": \"all\", \"aggregated_metric_name\": \"cpu.utilized_logical_cores_agg\", \"tenant_id\": \"all\", \"region\": \"all\", \"firstrecord_timestamp_string\": \"2016-03-07 16:10:38\",\"quantity\": 1.0}"},{"line_number":3,"context_line":"{\"usage_hour\": \"18\", \"geolocation\": \"all\", \"record_count\": 15.0, \"resource_uuid\": \"all\", \"usage_minute\": \"all\", \"service_group\": \"all\", \"lastrecord_timestamp_string\": \"2016-03-07 16:12:53\", \"user_id\": \"all\", \"zone\": \"all\", \"usage_date\": \"2016-03-07\", \"processing_meta\": {\"metric_id\": \"cpu_util_all\"}, \"firstrecord_timestamp_unix\": 1457367113.0, \"project_id\": \"all\", \"lastrecord_timestamp_unix\": 1457367173.0, \"aggregation_period\": \"prehourly\", \"host\": \"all\", \"aggregated_metric_name\": \"cpu.utilized_logical_cores_agg\", \"tenant_id\": \"all\", \"region\": \"all\", \"firstrecord_timestamp_string\": \"2016-03-07 16:11:53\",\"quantity\": 12.0}"},{"line_number":4,"context_line":"{\"usage_hour\": \"10\", \"geolocation\": \"all\", \"record_count\": 29.0, \"resource_uuid\": \"all\", \"usage_minute\": \"all\", \"service_group\": \"all\", \"lastrecord_timestamp_string\": \"2016-03-07 16:13:53\", \"user_id\": \"all\", \"zone\": \"all\", \"usage_date\": \"2016-03-07\", \"processing_meta\": {\"metric_id\": \"cpu_util_all\"}, \"firstrecord_timestamp_unix\": 1457367173.0, \"project_id\": \"all\", \"lastrecord_timestamp_unix\": 1457367233.0, \"aggregation_period\": \"prehourly\", \"host\": \"all\", \"aggregated_metric_name\": \"cpu.utilized_logical_cores_agg\", \"tenant_id\": \"all\", \"region\": \"all\", \"firstrecord_timestamp_string\": \"2016-03-07 16:12:53\",\"quantity\": 5.0}"}],"source_content_type":"text/plain","patch_set":8,"id":"5f7c97a3_e17b1bf0","line":1,"in_reply_to":"5f7c97a3_6bddaadc","updated":"2018-07-17 22:39:35.000000000","message":"thx! will add the space back in","commit_id":"44d0ae968beca938d2d574c2a7e3e2d65c7e1654"}]}
