diff --git a/docs/create-new-aggregation-pipeline.md b/docs/create-new-aggregation-pipeline.md index 11460ee..5f8a67c 100644 --- a/docs/create-new-aggregation-pipeline.md +++ b/docs/create-new-aggregation-pipeline.md @@ -75,7 +75,6 @@ The metric we are interested in is "event_type":"monasca.collection_time_sec", <-- EDITED "metric_id_list":["monasca_collection_host"], <-- EDITED "required_raw_fields_list":["creation_time", "metric.dimensions.hostname"], <--EDITED - "service_id":"host_metrics" } ``` Lets look at all the fields that were edited (Marked as `<-- EDITED` above): @@ -91,13 +90,8 @@ The metric we are interested in is This should list fields in the incoming metrics that are required. Pre-processing will eliminate or remove metrics which have missing required fields, during validation. - **service_id**: set to "host_metrics" - This identifies the source service these metrics belong to. (To be removed) - **Note:** "metric_id" is a misnomer, it is not really a metric identifier but rather identifier - for transformation spec. This will be changed to transform_spec_id in the future. Also - "service_id" should be set by the source that is generating the metric. This will be removed in - the future. (Please see Story [2001815](https://storyboard.openstack.org/#!/story/2001815)) + for transformation spec. This will be changed to transform_spec_id in the future. * **Step 3**: Create a "transform_spec" to find maximum metric value for each host @@ -241,7 +235,6 @@ The metric we are interested in is "event_type":"monasca.collection_time_sec", "metric_id_list":["monasca_collection_host", "monasca_collection_all"], <-- EDITED "required_raw_fields_list":["creation_time", "metric.dimensions.hostname"], - "service_id":"host_metrics" } ``` Thus we were able to add additional transformation or aggregation pipeline to the same incoming @@ -254,7 +247,7 @@ The metric we are interested in is and add following line. ``` - {"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"monasca.collection_time_sec","metric_id_list":["monasca_collection_host","monasca_collection_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} + {"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"monasca.collection_time_sec","metric_id_list":["monasca_collection_host","monasca_collection_all"],"required_raw_fields_list":["creation_time"]} ``` **Note:** Each line does not end with a comma (the file is not one big json document). @@ -299,7 +292,7 @@ The metric we are interested in is "firstrecord_timestamp_unix":1523427604.208577,"project_id":"NA","lastrecord_timestamp_unix":1523428189.718174, "aggregation_period":"hourly","host":"NA","container_name":"NA","interface":"NA", "aggregated_metric_name":"monasca.collection_time_sec_all_agg","tenant_id":"NA","region":"NA", - "firstrecord_timestamp_string":"2018-04-11 06:20:04","service_id":"NA","quantity":0.0687000751} + "firstrecord_timestamp_string":"2018-04-11 06:20:04","quantity":0.0687000751} {"usage_hour":"06","geolocation":"NA","record_count":40.0,"app":"NA","deployment":"NA","resource_uuid":"NA", "pod_name":"NA","usage_minute":"NA","service_group":"NA","lastrecord_timestamp_string":"2018-04-11 06:29:49", @@ -308,7 +301,7 @@ The metric we are interested in is "project_id":"NA","lastrecord_timestamp_unix":1523428189.718174,"aggregation_period":"hourly", "host":"devstack","container_name":"NA","interface":"NA", "aggregated_metric_name":"monasca.collection_time_sec_host_agg","tenant_id":"NA","region":"NA", - "firstrecord_timestamp_string":"2018-04-11 06:20:04","service_id":"NA","quantity":0.0687000751} + "firstrecord_timestamp_string":"2018-04-11 06:20:04","quantity":0.0687000751} ``` Similarly, to verify if final aggregated metrics are being published by pre hourly processor, diff --git a/monasca_transform/data_driven_specs/pre_transform_specs/pre_transform_specs.json b/monasca_transform/data_driven_specs/pre_transform_specs/pre_transform_specs.json index 19b81b4..70f3328 100644 --- a/monasca_transform/data_driven_specs/pre_transform_specs/pre_transform_specs.json +++ b/monasca_transform/data_driven_specs/pre_transform_specs/pre_transform_specs.json @@ -1,17 +1,17 @@ -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"mem.total_mb","metric_id_list":["mem_total_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"mem.usable_mb","metric_id_list":["mem_usable_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.mem.total_mb","metric_id_list":["vm_mem_total_mb_all","vm_mem_total_mb_project"],"required_raw_fields_list":["creation_time","tenantId","resource_id"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.mem.used_mb","metric_id_list":["vm_mem_used_mb_all","vm_mem_used_mb_project"],"required_raw_fields_list":["creation_time","tenantId","resource_id"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"nova.vm.mem.total_allocated_mb","metric_id_list":["nova_vm_mem_total_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"disk.total_space_mb","metric_id_list":["disk_total_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"disk.total_used_space_mb","metric_id_list":["disk_usable_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"nova.vm.disk.total_allocated_gb","metric_id_list":["nova_disk_total_allocated_gb_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.disk.allocation","metric_id_list":["vm_disk_allocation_all","vm_disk_allocation_project"],"required_raw_fields_list":["creation_time","tenant_id","resource_id"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"cpu.total_logical_cores","metric_id_list":["cpu_total_all","cpu_total_host","cpu_util_all","cpu_util_host"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"cpu.idle_perc","metric_id_list":["cpu_util_all","cpu_util_host"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vcpus","metric_id_list":["vcpus_all","vcpus_project"],"required_raw_fields_list":["creation_time","project_id","resource_id"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.cpu.utilization_perc","metric_id_list":["vm_cpu_util_perc_project"],"required_raw_fields_list":["creation_time","tenant_id","resource_id"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"nova.vm.cpu.total_allocated","metric_id_list":["nova_vm_cpu_total_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"swiftlm.diskusage.host.val.size","metric_id_list":["swift_total_all","swift_total_host"],"required_raw_fields_list":["creation_time", "hostname", "dimensions#mount"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"swiftlm.diskusage.host.val.avail","metric_id_list":["swift_avail_all","swift_avail_host","swift_usage_rate"],"required_raw_fields_list":["creation_time", "hostname", "dimensions#mount"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"storage.objects.size","metric_id_list":["storage_objects_size_all"],"required_raw_fields_list":["creation_time", "project_id"],"service_id":"host_metrics"} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"mem.total_mb","metric_id_list":["mem_total_all"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"mem.usable_mb","metric_id_list":["mem_usable_all"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.mem.total_mb","metric_id_list":["vm_mem_total_mb_all","vm_mem_total_mb_project"],"required_raw_fields_list":["creation_time","tenantId","resource_id"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.mem.used_mb","metric_id_list":["vm_mem_used_mb_all","vm_mem_used_mb_project"],"required_raw_fields_list":["creation_time","tenantId","resource_id"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"nova.vm.mem.total_allocated_mb","metric_id_list":["nova_vm_mem_total_all"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"disk.total_space_mb","metric_id_list":["disk_total_all"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"disk.total_used_space_mb","metric_id_list":["disk_usable_all"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"nova.vm.disk.total_allocated_gb","metric_id_list":["nova_disk_total_allocated_gb_all"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.disk.allocation","metric_id_list":["vm_disk_allocation_all","vm_disk_allocation_project"],"required_raw_fields_list":["creation_time","tenant_id","resource_id"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"cpu.total_logical_cores","metric_id_list":["cpu_total_all","cpu_total_host","cpu_util_all","cpu_util_host"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"cpu.idle_perc","metric_id_list":["cpu_util_all","cpu_util_host"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vcpus","metric_id_list":["vcpus_all","vcpus_project"],"required_raw_fields_list":["creation_time","project_id","resource_id"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.cpu.utilization_perc","metric_id_list":["vm_cpu_util_perc_project"],"required_raw_fields_list":["creation_time","tenant_id","resource_id"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"nova.vm.cpu.total_allocated","metric_id_list":["nova_vm_cpu_total_all"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"swiftlm.diskusage.host.val.size","metric_id_list":["swift_total_all","swift_total_host"],"required_raw_fields_list":["creation_time", "hostname", "dimensions#mount"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"swiftlm.diskusage.host.val.avail","metric_id_list":["swift_avail_all","swift_avail_host","swift_usage_rate"],"required_raw_fields_list":["creation_time", "hostname", "dimensions#mount"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"storage.objects.size","metric_id_list":["storage_objects_size_all"],"required_raw_fields_list":["creation_time", "project_id"]} diff --git a/monasca_transform/driver/mon_metrics_kafka.py b/monasca_transform/driver/mon_metrics_kafka.py index d51467e..e13b194 100644 --- a/monasca_transform/driver/mon_metrics_kafka.py +++ b/monasca_transform/driver/mon_metrics_kafka.py @@ -342,8 +342,7 @@ class MonMetricsKafkaProcessor(object): validated_mon_metrics_df.event_processing_params, validated_mon_metrics_df.event_type, explode(validated_mon_metrics_df.metric_id_list).alias( - "this_metric_id"), - validated_mon_metrics_df.service_id) + "this_metric_id")) # # transform metrics data to record_store format @@ -422,9 +421,9 @@ class MonMetricsKafkaProcessor(object): # event_second from_unixtime(gen_mon_metrics_df.metric.timestamp / 1000, 'ss').alias("event_second"), - + # TODO(ashwin): rename to transform_spec_group gen_mon_metrics_df.this_metric_id.alias("metric_group"), - + # TODO(ashwin): rename to transform_spec_id gen_mon_metrics_df.this_metric_id.alias("metric_id"), # metric dimensions diff --git a/monasca_transform/transform/transform_utils.py b/monasca_transform/transform/transform_utils.py index 9b59662..a87eaa9 100644 --- a/monasca_transform/transform/transform_utils.py +++ b/monasca_transform/transform/transform_utils.py @@ -104,7 +104,6 @@ class InstanceUsageUtils(TransformUtils): Convert replaces any special "dimensions#", "meta#" or "value_meta#" occurrences into spark sql syntax to retrieve data from extra_data_map column. - """ if (item.startswith("dimensions#") or item.startswith("meta#") or @@ -196,7 +195,7 @@ class RecordStoreUtils(TransformUtils): "event_status", "event_version", "record_type", "resource_uuid", "tenant_id", "user_id", "region", "zone", - "host", "project_id", "service_group", "service_id", + "host", "project_id", "event_date", "event_hour", "event_minute", "event_second", "metric_group", "metric_id"] @@ -251,9 +250,9 @@ class RecordStoreUtils(TransformUtils): def prepare_recordstore_group_by_list(group_by_list): """Prepare record store group by list. - If the group by list contains any instances of "dimensions#", "meta#" or "value_meta#" then - convert into proper dotted notation. i.e. "dimensions.", "meta." and - "value_meta." to reference columns in record_store data. + If the group by list contains any instances of "dimensions#", "meta#" or "value#meta" then + convert into proper dotted notation, since original raw "dimensions", "meta" and + "value_meta" are available in record_store data. """ return [RecordStoreUtils.prepare_group_by_item(item) for item in group_by_list] @@ -423,7 +422,6 @@ class PreTransformSpecsUtils(TransformUtils): ArrayType(StringType(), containsNull=False), True) - service_id = StructField("service_id", StringType(), True) event_processing_params = \ StructField("event_processing_params", @@ -436,8 +434,7 @@ class PreTransformSpecsUtils(TransformUtils): ]), True) schema = StructType([event_processing_params, event_type, - metric_id_list, required_raw_fields_list, - service_id]) + metric_id_list, required_raw_fields_list]) return schema diff --git a/tests/functional/data_driven_specs/pre_transform_specs/pre_transform_specs.json b/tests/functional/data_driven_specs/pre_transform_specs/pre_transform_specs.json index e07871f..c7e6678 100644 --- a/tests/functional/data_driven_specs/pre_transform_specs/pre_transform_specs.json +++ b/tests/functional/data_driven_specs/pre_transform_specs/pre_transform_specs.json @@ -1,25 +1,26 @@ -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"mem.total_mb","metric_id_list":["mem_total_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"mem.usable_mb","metric_id_list":["mem_usable_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.mem.total_mb","metric_id_list":["vm_mem_total_mb_all","vm_mem_total_mb_project"],"required_raw_fields_list":["creation_time","tenantId","resource_id"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.mem.used_mb","metric_id_list":["vm_mem_used_mb_all","vm_mem_used_mb_project"],"required_raw_fields_list":["creation_time","tenantId","resource_id"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"nova.vm.mem.total_allocated_mb","metric_id_list":["nova_vm_mem_total_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"disk.total_space_mb","metric_id_list":["disk_total_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"disk.total_used_space_mb","metric_id_list":["disk_usable_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"nova.vm.disk.total_allocated_gb","metric_id_list":["nova_disk_total_allocated_gb_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.disk.allocation","metric_id_list":["vm_disk_allocation_all","vm_disk_allocation_project"],"required_raw_fields_list":["creation_time","tenant_id","resource_id"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"cpu.total_logical_cores","metric_id_list":["cpu_total_all","cpu_total_host","cpu_util_all","cpu_util_host"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"cpu.idle_perc","metric_id_list":["cpu_util_all","cpu_util_host"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vcpus","metric_id_list":["vcpus_all","vcpus_project"],"required_raw_fields_list":["creation_time","project_id","resource_id"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.cpu.utilization_perc","metric_id_list":["vm_cpu_util_perc_project"],"required_raw_fields_list":["creation_time","tenant_id","resource_id"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"nova.vm.cpu.total_allocated","metric_id_list":["nova_vm_cpu_total_all"],"required_raw_fields_list":["creation_time"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"swiftlm.diskusage.host.val.size","metric_id_list":["swift_total_all","swift_total_host"],"required_raw_fields_list":["creation_time", "hostname", "dimensions#mount"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"swiftlm.diskusage.host.val.avail","metric_id_list":["swift_avail_all","swift_avail_host","swift_usage_rate"],"required_raw_fields_list":["creation_time", "hostname", "dimensions#mount"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"storage.objects.size","metric_id_list":["storage_objects_size_all"],"required_raw_fields_list":["creation_time", "project_id"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"pod.net.in_bytes_sec","metric_id_list":["pod_net_in_b_per_sec_total_all","pod_net_in_b_per_sec_per_namespace","pod_net_in_b_per_sec_per_app"],"required_raw_fields_list":["creation_time","tenantId","dimensions#namespace","dimensions#pod_name","dimensions#app"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"pod.net.out_bytes_sec","metric_id_list":["pod_net_out_b_per_sec_total_all","pod_net_out_b_per_sec_per_namespace"],"required_raw_fields_list":["creation_time","tenantId","dimensions#namespace","dimensions#pod_name"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"pod.mem.used_bytes","metric_id_list":["pod.mem_used_b_total_all","pod.mem_used_b_per_pod_name","pod.mem_used_b_per_namespace"],"required_raw_fields_list":["creation_time","tenantId","dimensions#namespace","dimensions#pod_name"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"pod.cpu.total_time","metric_id_list":["pod_cpu_total_all","pod_cpu_per_namespace"],"required_raw_fields_list":["creation_time","tenantId","dimensions#namespace"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"container.cpu.total_time","metric_id_list":["container_cpu_total_time_all","container_cpu_total_time_per_container"],"required_raw_fields_list":["creation_time","tenantId","dimensions#container_name"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"kubernetes.node.capacity.cpu","metric_id_list":["kubernetes_node_capacity_cpu_all","kubernetes_node_capacity_cpu_per_host"],"required_raw_fields_list":["creation_time","tenantId","hostname"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"cpu.total_time_sec","metric_id_list":["cpu_total_time_sec_all","cpu_total_time_sec_per_host"],"required_raw_fields_list":["creation_time","tenantId","hostname"],"service_id":"host_metrics"} -{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"kubernetes.node.allocatable.cpu","metric_id_list":["kubernetes_node_allocatable_cpu_all","kubernetes_node_allocatable_cpu_per_host"],"required_raw_fields_list":["creation_time","tenantId","hostname"],"service_id":"host_metrics"} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"mem.total_mb","metric_id_list":["mem_total_all"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"mem.usable_mb","metric_id_list":["mem_usable_all"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.mem.total_mb","metric_id_list":["vm_mem_total_mb_all","vm_mem_total_mb_project"],"required_raw_fields_list":["creation_time","tenantId","resource_id"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.mem.used_mb","metric_id_list":["vm_mem_used_mb_all","vm_mem_used_mb_project"],"required_raw_fields_list":["creation_time","tenantId","resource_id"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"nova.vm.mem.total_allocated_mb","metric_id_list":["nova_vm_mem_total_all"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"disk.total_space_mb","metric_id_list":["disk_total_all"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"disk.total_used_space_mb","metric_id_list":["disk_usable_all"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"nova.vm.disk.total_allocated_gb","metric_id_list":["nova_disk_total_allocated_gb_all"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.disk.allocation","metric_id_list":["vm_disk_allocation_all","vm_disk_allocation_project"],"required_raw_fields_list":["creation_time","tenant_id","resource_id"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"cpu.total_logical_cores","metric_id_list":["cpu_total_all","cpu_total_host","cpu_util_all","cpu_util_host"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"cpu.idle_perc","metric_id_list":["cpu_util_all","cpu_util_host"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vcpus","metric_id_list":["vcpus_all","vcpus_project"],"required_raw_fields_list":["creation_time","project_id","resource_id"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"vm.cpu.utilization_perc","metric_id_list":["vm_cpu_util_perc_project"],"required_raw_fields_list":["creation_time","tenant_id","resource_id"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"nova.vm.cpu.total_allocated","metric_id_list":["nova_vm_cpu_total_all"],"required_raw_fields_list":["creation_time"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"swiftlm.diskusage.host.val.size","metric_id_list":["swift_total_all","swift_total_host"],"required_raw_fields_list":["creation_time", "hostname", "dimensions#mount"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"swiftlm.diskusage.host.val.avail","metric_id_list":["swift_avail_all","swift_avail_host","swift_usage_rate"],"required_raw_fields_list":["creation_time", "hostname", "dimensions#mount"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"storage.objects.size","metric_id_list":["storage_objects_size_all"],"required_raw_fields_list":["creation_time", "project_id"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"pod.net.in_bytes_sec","metric_id_list":["pod_net_in_b_per_sec_total_all","pod_net_in_b_per_sec_per_namespace","pod_net_in_b_per_sec_per_app"],"required_raw_fields_list":["creation_time","tenantId","dimensions#namespace","dimensions#pod_name","dimensions#app"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"pod.net.out_bytes_sec","metric_id_list":["pod_net_out_b_per_sec_total_all","pod_net_out_b_per_sec_per_namespace"],"required_raw_fields_list":["creation_time","tenantId","dimensions#namespace","dimensions#pod_name"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"pod.mem.used_bytes","metric_id_list":["pod.mem_used_b_total_all","pod.mem_used_b_per_pod_name","pod.mem_used_b_per_namespace"],"required_raw_fields_list":["creation_time","tenantId","dimensions#namespace","dimensions#pod_name"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"pod.cpu.total_time","metric_id_list":["pod_cpu_total_all","pod_cpu_per_namespace"],"required_raw_fields_list":["creation_time","tenantId","dimensions#namespace"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"container.cpu.total_time","metric_id_list":["container_cpu_total_time_all","container_cpu_total_time_per_container"],"required_raw_fields_list":["creation_time","tenantId","dimensions#container_name"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"kubernetes.node.capacity.cpu","metric_id_list":["kubernetes_node_capacity_cpu_all","kubernetes_node_capacity_cpu_per_host"],"required_raw_fields_list":["creation_time","tenantId","hostname"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"cpu.total_time_sec","metric_id_list":["cpu_total_time_sec_all","cpu_total_time_sec_per_host"],"required_raw_fields_list":["creation_time","tenantId","hostname"]} +{"event_processing_params":{"set_default_zone_to":"1","set_default_geolocation_to":"1","set_default_region_to":"W"},"event_type":"kubernetes.node.allocatable.cpu","metric_id_list":["kubernetes_node_allocatable_cpu_all","kubernetes_node_allocatable_cpu_per_host"],"required_raw_fields_list":["creation_time","tenantId","hostname"]} + diff --git a/tests/functional/data_driven_specs/test_data_driven_specs.py b/tests/functional/data_driven_specs/test_data_driven_specs.py index 7ff7950..1b641f3 100644 --- a/tests/functional/data_driven_specs/test_data_driven_specs.py +++ b/tests/functional/data_driven_specs/test_data_driven_specs.py @@ -191,11 +191,6 @@ class TestDataDrivenSpecsRepo(SparkContextTest): "set_default_zone_to": "1", "set_default_geolocation_to": "1", "set_default_region_to": "W"}) - self.check_value_field_for_row( - row=mem_usable_mb_row, - field_name='service_id', - expected_value='host_metrics' - ) # mem.total_mb event_type = 'mem.total_mb' @@ -219,11 +214,6 @@ class TestDataDrivenSpecsRepo(SparkContextTest): "set_default_zone_to": "1", "set_default_geolocation_to": "1", "set_default_region_to": "W"}) - self.check_value_field_for_row( - row=mem_total_mb_row, - field_name='service_id', - expected_value='host_metrics' - ) # vcpus event_type = 'vcpus' @@ -248,11 +238,6 @@ class TestDataDrivenSpecsRepo(SparkContextTest): "set_default_zone_to": "1", "set_default_geolocation_to": "1", "set_default_region_to": "W"}) - self.check_value_field_for_row( - row=vcpus_all_row, - field_name='service_id', - expected_value='host_metrics' - ) # vm.mem.total_mb event_type = 'vm.mem.total_mb' @@ -277,11 +262,6 @@ class TestDataDrivenSpecsRepo(SparkContextTest): "set_default_zone_to": "1", "set_default_geolocation_to": "1", "set_default_region_to": "W"}) - self.check_value_field_for_row( - row=vm_mem_total_mb_all_row, - field_name='service_id', - expected_value='host_metrics' - ) # vm.mem.used_mb event_type = 'vm.mem.used_mb' @@ -306,11 +286,6 @@ class TestDataDrivenSpecsRepo(SparkContextTest): "set_default_zone_to": "1", "set_default_geolocation_to": "1", "set_default_region_to": "W"}) - self.check_value_field_for_row( - row=vm_mem_total_mb_all_row, - field_name='service_id', - expected_value='host_metrics' - ) # nova.vm.disk.total_allocated_gb event_type = 'nova.vm.disk.total_allocated_gb' @@ -334,11 +309,6 @@ class TestDataDrivenSpecsRepo(SparkContextTest): "set_default_zone_to": "1", "set_default_geolocation_to": "1", "set_default_region_to": "W"}) - self.check_value_field_for_row( - row=disk_total_alloc_row, - field_name='service_id', - expected_value='host_metrics' - ) # vm.disk.allocation event_type = 'vm.disk.allocation' @@ -363,11 +333,6 @@ class TestDataDrivenSpecsRepo(SparkContextTest): "set_default_zone_to": "1", "set_default_geolocation_to": "1", "set_default_region_to": "W"}) - self.check_value_field_for_row( - row=vm_disk_allocation_all_row, - field_name='service_id', - expected_value='host_metrics' - ) # vm.cpu.utilization_perc event_type = 'vm.cpu.utilization_perc' @@ -391,11 +356,6 @@ class TestDataDrivenSpecsRepo(SparkContextTest): "set_default_zone_to": "1", "set_default_geolocation_to": "1", "set_default_region_to": "W"}) - self.check_value_field_for_row( - row=vm_cpu_util_perc_row, - field_name='service_id', - expected_value='host_metrics' - ) # swiftlm.diskusage.host.val.size event_type = 'swiftlm.diskusage.host.val.size' @@ -419,11 +379,6 @@ class TestDataDrivenSpecsRepo(SparkContextTest): "set_default_zone_to": "1", "set_default_geolocation_to": "1", "set_default_region_to": "W"}) - self.check_value_field_for_row( - row=swiftlm_diskusage_all_row, - field_name='service_id', - expected_value='host_metrics' - ) # swiftlm.diskusage.host.val.avail event_type = 'swiftlm.diskusage.host.val.avail' @@ -448,11 +403,6 @@ class TestDataDrivenSpecsRepo(SparkContextTest): "set_default_zone_to": "1", "set_default_geolocation_to": "1", "set_default_region_to": "W"}) - self.check_value_field_for_row( - row=swiftlm_diskavail_all_row, - field_name='service_id', - expected_value='host_metrics' - ) # nova.vm.cpu.total_allocated event_type = 'nova.vm.cpu.total_allocated' @@ -476,11 +426,6 @@ class TestDataDrivenSpecsRepo(SparkContextTest): "set_default_zone_to": "1", "set_default_geolocation_to": "1", "set_default_region_to": "W"}) - self.check_value_field_for_row( - row=nova_vm_cpu_total_all_row, - field_name='service_id', - expected_value='host_metrics' - ) # nova.vm.mem.total_allocated_mb event_type = 'nova.vm.mem.total_allocated_mb' @@ -504,11 +449,6 @@ class TestDataDrivenSpecsRepo(SparkContextTest): "set_default_zone_to": "1", "set_default_geolocation_to": "1", "set_default_region_to": "W"}) - self.check_value_field_for_row( - row=nova_vm_mem_total_all_row, - field_name='service_id', - expected_value='host_metrics' - ) # storage.objects.size event_type = 'storage.objects.size' @@ -532,11 +472,6 @@ class TestDataDrivenSpecsRepo(SparkContextTest): "set_default_zone_to": "1", "set_default_geolocation_to": "1", "set_default_region_to": "W"}) - self.check_value_field_for_row( - row=storage_objects_size_all_row, - field_name='service_id', - expected_value='host_metrics' - ) def get_row_for_event_type(self, event_type=None, diff --git a/tests/functional/test_resources/cpu_kafka_data_second_stage/cpu_kafka_data.txt b/tests/functional/test_resources/cpu_kafka_data_second_stage/cpu_kafka_data.txt index 2be160b..4456dee 100644 --- a/tests/functional/test_resources/cpu_kafka_data_second_stage/cpu_kafka_data.txt +++ b/tests/functional/test_resources/cpu_kafka_data_second_stage/cpu_kafka_data.txt @@ -1,8 +1,8 @@ -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 7.0, 'resource_uuid': 'all', 'host': 'all', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 16:40:00', 'aggregated_metric_name': 'vcpus_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 16:40:00', 'processing_meta': {'metric_id': 'vcpus_all'}, 'firstrecord_timestamp_unix': 1453308000.0, 'service_id': 'all', 'project_id': 'all', 'lastrecord_timestamp_unix': 1453308000.0, 'quantity': 0.0} -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 7.0, 'resource_uuid': 'all', 'host': 'all', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 16:40:00', 'aggregated_metric_name': 'vcpus_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': '103e4d4d14bc4fdda4a9c73d1643e1d7', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 16:40:00', 'processing_meta': {'metric_id': 'vcpus_project'}, 'firstrecord_timestamp_unix': 1453308000.0, 'service_id': 'all', 'project_id': '103e4d4d14bc4fdda4a9c73d1643e1d7', 'lastrecord_timestamp_unix': 1453308000.0, 'quantity': 0.0} -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 13.0, 'resource_uuid': 'all', 'host': 'all', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-03-07 16:10:38', 'aggregated_metric_name': 'cpu.total_logical_cores_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-03-07', 'firstrecord_timestamp_string': '2016-03-07 16:09:23', 'processing_meta': {'metric_id': 'cpu_total_all'}, 'firstrecord_timestamp_unix': 1457366963.0, 'service_id': 'all', 'project_id': 'all', 'lastrecord_timestamp_unix': 1457367038.0, 'quantity': 15.0} -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 7.0, 'resource_uuid': 'all', 'host': 'devstack', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-03-07 16:10:38', 'aggregated_metric_name': 'cpu.total_logical_cores_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-03-07', 'firstrecord_timestamp_string': '2016-03-07 16:09:23', 'processing_meta': {'metric_id': 'cpu_total_host'}, 'firstrecord_timestamp_unix': 1457366963.0, 'service_id': 'all', 'project_id': 'all', 'lastrecord_timestamp_unix': 1457367038.0, 'quantity': 6.0} -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 6.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-03-07 16:10:38', 'aggregated_metric_name': 'cpu.total_logical_cores_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-03-07', 'firstrecord_timestamp_string': '2016-03-07 16:09:23', 'processing_meta': {'metric_id': 'cpu_total_host'}, 'firstrecord_timestamp_unix': 1457366963.0, 'service_id': 'all', 'project_id': 'all', 'lastrecord_timestamp_unix': 1457367038.0, 'quantity': 9.0} -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 7.0, 'resource_uuid': 'all', 'host': 'devstack', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-03-07 16:10:38', 'aggregated_metric_name': 'cpu.utilized_logical_cores_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-03-07', 'firstrecord_timestamp_string': '2016-03-07 16:09:23', 'processing_meta': {'metric_id': 'cpu_util_host'}, 'firstrecord_timestamp_unix': 1457366963.0, 'service_id': 'all', 'project_id': 'all', 'lastrecord_timestamp_unix': 1457367038.0, 'quantity': 3.0} -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 6.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-03-07 16:10:38', 'aggregated_metric_name': 'cpu.utilized_logical_cores_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-03-07', 'firstrecord_timestamp_string': '2016-03-07 16:09:23', 'processing_meta': {'metric_id': 'cpu_util_host'}, 'firstrecord_timestamp_unix': 1457366963.0, 'service_id': 'all', 'project_id': 'all', 'lastrecord_timestamp_unix': 1457367038.0, 'quantity': 5.0} -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 13.0, 'resource_uuid': 'all', 'host': 'all', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-03-07 16:10:38', 'aggregated_metric_name': 'cpu.utilized_logical_cores_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-03-07', 'firstrecord_timestamp_string': '2016-03-07 16:09:23', 'processing_meta': {'metric_id': 'cpu_util_all'}, 'firstrecord_timestamp_unix': 1457366963.0, 'service_id': 'all', 'project_id': 'all', 'lastrecord_timestamp_unix': 1457367038.0, 'quantity': 8.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 7.0, 'resource_uuid': 'all', 'host': 'all', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 16:40:00', 'aggregated_metric_name': 'vcpus_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 16:40:00', 'processing_meta': {'metric_id': 'vcpus_all'}, 'firstrecord_timestamp_unix': 1453308000.0, 'project_id': 'all', 'lastrecord_timestamp_unix': 1453308000.0, 'quantity': 0.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 7.0, 'resource_uuid': 'all', 'host': 'all', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 16:40:00', 'aggregated_metric_name': 'vcpus_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': '103e4d4d14bc4fdda4a9c73d1643e1d7', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 16:40:00', 'processing_meta': {'metric_id': 'vcpus_project'}, 'firstrecord_timestamp_unix': 1453308000.0, 'project_id': '103e4d4d14bc4fdda4a9c73d1643e1d7', 'lastrecord_timestamp_unix': 1453308000.0, 'quantity': 0.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 13.0, 'resource_uuid': 'all', 'host': 'all', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-03-07 16:10:38', 'aggregated_metric_name': 'cpu.total_logical_cores_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-03-07', 'firstrecord_timestamp_string': '2016-03-07 16:09:23', 'processing_meta': {'metric_id': 'cpu_total_all'}, 'firstrecord_timestamp_unix': 1457366963.0, 'project_id': 'all', 'lastrecord_timestamp_unix': 1457367038.0, 'quantity': 15.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 7.0, 'resource_uuid': 'all', 'host': 'devstack', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-03-07 16:10:38', 'aggregated_metric_name': 'cpu.total_logical_cores_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-03-07', 'firstrecord_timestamp_string': '2016-03-07 16:09:23', 'processing_meta': {'metric_id': 'cpu_total_host'}, 'firstrecord_timestamp_unix': 1457366963.0, 'project_id': 'all', 'lastrecord_timestamp_unix': 1457367038.0, 'quantity': 6.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 6.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-03-07 16:10:38', 'aggregated_metric_name': 'cpu.total_logical_cores_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-03-07', 'firstrecord_timestamp_string': '2016-03-07 16:09:23', 'processing_meta': {'metric_id': 'cpu_total_host'}, 'firstrecord_timestamp_unix': 1457366963.0, 'project_id': 'all', 'lastrecord_timestamp_unix': 1457367038.0, 'quantity': 9.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 7.0, 'resource_uuid': 'all', 'host': 'devstack', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-03-07 16:10:38', 'aggregated_metric_name': 'cpu.utilized_logical_cores_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-03-07', 'firstrecord_timestamp_string': '2016-03-07 16:09:23', 'processing_meta': {'metric_id': 'cpu_util_host'}, 'firstrecord_timestamp_unix': 1457366963.0, 'project_id': 'all', 'lastrecord_timestamp_unix': 1457367038.0, 'quantity': 3.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 6.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-03-07 16:10:38', 'aggregated_metric_name': 'cpu.utilized_logical_cores_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-03-07', 'firstrecord_timestamp_string': '2016-03-07 16:09:23', 'processing_meta': {'metric_id': 'cpu_util_host'}, 'firstrecord_timestamp_unix': 1457366963.0, 'project_id': 'all', 'lastrecord_timestamp_unix': 1457367038.0, 'quantity': 5.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 13.0, 'resource_uuid': 'all', 'host': 'all', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-03-07 16:10:38', 'aggregated_metric_name': 'cpu.utilized_logical_cores_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-03-07', 'firstrecord_timestamp_string': '2016-03-07 16:09:23', 'processing_meta': {'metric_id': 'cpu_util_all'}, 'firstrecord_timestamp_unix': 1457366963.0, 'project_id': 'all', 'lastrecord_timestamp_unix': 1457367038.0, 'quantity': 8.0} diff --git a/tests/functional/test_resources/fetch_quantity_data_second_stage/fetch_quantity_data_second_stage.txt b/tests/functional/test_resources/fetch_quantity_data_second_stage/fetch_quantity_data_second_stage.txt index bedeca1..e3ca701 100644 --- a/tests/functional/test_resources/fetch_quantity_data_second_stage/fetch_quantity_data_second_stage.txt +++ b/tests/functional/test_resources/fetch_quantity_data_second_stage/fetch_quantity_data_second_stage.txt @@ -1,6 +1,6 @@ -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 4.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 16:50:00', 'aggregated_metric_name': 'mem.total_mb_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 16:40:00', 'processing_meta': {'metric_id': 'mem_total_all'}, 'firstrecord_timestamp_unix': 1453308000.0, 'service_id': 'all', 'project_id': 'all', 'lastrecord_timestamp_unix': 1453308600.0, 'quantity': 1234.0} -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 7.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 17:00:00', 'aggregated_metric_name': 'mem.total_mb_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 16:50:00', 'processing_meta': {'metric_id': 'mem_total_all'}, 'firstrecord_timestamp_unix': 1453308600.0, 'service_id': 'all', 'project_id': 'all', 'lastrecord_timestamp_unix': 1453309200.0, 'quantity': 1213.0} -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 8.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 17:10:00', 'aggregated_metric_name': 'mem.total_mb_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 17:00:00', 'processing_meta': {'metric_id': 'mem_total_all'}, 'firstrecord_timestamp_unix': 1453309200.0, 'service_id': 'all', 'project_id': 'all', 'lastrecord_timestamp_unix': 1453309800.0, 'quantity': 1314.0} -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 5.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 17:20:00', 'aggregated_metric_name': 'mem.total_mb_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 17:10:00', 'processing_meta': {'metric_id': 'mem_total_all'}, 'firstrecord_timestamp_unix': 1453309800.0, 'service_id': 'all', 'project_id': 'all', 'lastrecord_timestamp_unix': 1453310400.0, 'quantity': 2318.0} -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 9.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 17:30:00', 'aggregated_metric_name': 'mem.total_mb_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 17:20:00', 'processing_meta': {'metric_id': 'mem_total_all'}, 'firstrecord_timestamp_unix': 1453310400.0, 'service_id': 'all', 'project_id': 'all', 'lastrecord_timestamp_unix': 1453311000.0, 'quantity': 1218.0} -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 6.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 17:40:00', 'aggregated_metric_name': 'mem.total_mb_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 17:30:00', 'processing_meta': {'metric_id': 'mem_total_all'}, 'firstrecord_timestamp_unix': 1453311000.0, 'service_id': 'all', 'project_id': 'all', 'lastrecord_timestamp_unix': 1453311600.0, 'quantity': 1382.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 4.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 16:50:00', 'aggregated_metric_name': 'mem.total_mb_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 16:40:00', 'processing_meta': {'metric_id': 'mem_total_all'}, 'firstrecord_timestamp_unix': 1453308000.0, 'project_id': 'all', 'lastrecord_timestamp_unix': 1453308600.0, 'quantity': 1234.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 7.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 17:00:00', 'aggregated_metric_name': 'mem.total_mb_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 16:50:00', 'processing_meta': {'metric_id': 'mem_total_all'}, 'firstrecord_timestamp_unix': 1453308600.0, 'project_id': 'all', 'lastrecord_timestamp_unix': 1453309200.0, 'quantity': 1213.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 8.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 17:10:00', 'aggregated_metric_name': 'mem.total_mb_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 17:00:00', 'processing_meta': {'metric_id': 'mem_total_all'}, 'firstrecord_timestamp_unix': 1453309200.0, 'project_id': 'all', 'lastrecord_timestamp_unix': 1453309800.0, 'quantity': 1314.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 5.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 17:20:00', 'aggregated_metric_name': 'mem.total_mb_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 17:10:00', 'processing_meta': {'metric_id': 'mem_total_all'}, 'firstrecord_timestamp_unix': 1453309800.0, 'project_id': 'all', 'lastrecord_timestamp_unix': 1453310400.0, 'quantity': 2318.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 9.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 17:30:00', 'aggregated_metric_name': 'mem.total_mb_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 17:20:00', 'processing_meta': {'metric_id': 'mem_total_all'}, 'firstrecord_timestamp_unix': 1453310400.0, 'project_id': 'all', 'lastrecord_timestamp_unix': 1453311000.0, 'quantity': 1218.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 6.0, 'resource_uuid': 'all', 'host': 'mini-mon', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 17:40:00', 'aggregated_metric_name': 'mem.total_mb_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 17:30:00', 'processing_meta': {'metric_id': 'mem_total_all'}, 'firstrecord_timestamp_unix': 1453311000.0, 'project_id': 'all', 'lastrecord_timestamp_unix': 1453311600.0, 'quantity': 1382.0} diff --git a/tests/functional/test_resources/fetch_quantity_util_second_stage/kafka_data.txt b/tests/functional/test_resources/fetch_quantity_util_second_stage/kafka_data.txt index 7c8932a..54a73b4 100644 --- a/tests/functional/test_resources/fetch_quantity_util_second_stage/kafka_data.txt +++ b/tests/functional/test_resources/fetch_quantity_util_second_stage/kafka_data.txt @@ -1,6 +1,6 @@ -{"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", "service_id": "all", "quantity": 9.0} -{"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", "service_id": "all", "quantity": 1.0} -{"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", "service_id": "all", "quantity": 12.0} -{"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", "service_id": "all", "quantity": 5.0} -{"usage_hour": "10", "geolocation": "all", "record_count": 17.0, "resource_uuid": "all", "usage_minute": "all", "service_group": "all", "lastrecord_timestamp_string": "2016-03-07 16:14:53", "user_id": "all", "zone": "all", "usage_date": "2016-03-07", "processing_meta": {"metric_id": "cpu_util_all"}, "firstrecord_timestamp_unix": 1457367233.0, "project_id": "all", "lastrecord_timestamp_unix": 1457367293.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:13:53", "service_id": "all", "quantity": 7.0} -{"usage_hour": "10", "geolocation": "all", "record_count": 17.0, "resource_uuid": "all", "usage_minute": "all", "service_group": "all", "lastrecord_timestamp_string": "2016-03-07 16:14:53", "user_id": "all", "zone": "all", "usage_date": "2016-03-07", "processing_meta": {"metric_id": "cpu_util_all"}, "firstrecord_timestamp_unix": 1457367233.0, "project_id": "all", "lastrecord_timestamp_unix": 1457367293.0, "aggregation_period": "prehourly", "host": "all", "aggregated_metric_name": "cpu.utilized_logical_agg", "tenant_id": "all", "region": "all", "firstrecord_timestamp_string": "2016-03-07 16:13:53", "service_id": "all", "quantity": 7.0} +{"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} +{"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} +{"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} +{"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} +{"usage_hour": "10", "geolocation": "all", "record_count": 17.0, "resource_uuid": "all", "usage_minute": "all", "service_group": "all", "lastrecord_timestamp_string": "2016-03-07 16:14:53", "user_id": "all", "zone": "all", "usage_date": "2016-03-07", "processing_meta": {"metric_id": "cpu_util_all"}, "firstrecord_timestamp_unix": 1457367233.0, "project_id": "all", "lastrecord_timestamp_unix": 1457367293.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:13:53", "quantity": 7.0} +{"usage_hour": "10", "geolocation": "all", "record_count": 17.0, "resource_uuid": "all", "usage_minute": "all", "service_group": "all", "lastrecord_timestamp_string": "2016-03-07 16:14:53", "user_id": "all", "zone": "all", "usage_date": "2016-03-07", "processing_meta": {"metric_id": "cpu_util_all"}, "firstrecord_timestamp_unix": 1457367233.0, "project_id": "all", "lastrecord_timestamp_unix": 1457367293.0, "aggregation_period": "prehourly", "host": "all", "aggregated_metric_name": "cpu.utilized_logical_agg", "tenant_id": "all", "region": "all", "firstrecord_timestamp_string": "2016-03-07 16:13:53", "quantity": 7.0} diff --git a/tests/functional/test_resources/kafka_data_second_stage/kafka_data_by_all.txt b/tests/functional/test_resources/kafka_data_second_stage/kafka_data_by_all.txt index 72d3588..bfdc366 100644 --- a/tests/functional/test_resources/kafka_data_second_stage/kafka_data_by_all.txt +++ b/tests/functional/test_resources/kafka_data_second_stage/kafka_data_by_all.txt @@ -1 +1 @@ -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 14.0, 'resource_uuid': 'all', 'host': 'all', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 16:40:46', 'aggregated_metric_name': 'vcpus_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 16:40:00', 'processing_meta': {'metric_id': 'vcpus_all'}, 'firstrecord_timestamp_unix': 1453308000.0, 'service_id': 'all', 'project_id': 'all', 'lastrecord_timestamp_unix': 1453308046.0, 'quantity': 7.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 14.0, 'resource_uuid': 'all', 'host': 'all', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 16:40:46', 'aggregated_metric_name': 'vcpus_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': 'all', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 16:40:00', 'processing_meta': {'metric_id': 'vcpus_all'}, 'firstrecord_timestamp_unix': 1453308000.0, 'project_id': 'all', 'lastrecord_timestamp_unix': 1453308046.0, 'quantity': 7.0} diff --git a/tests/functional/test_resources/kafka_data_second_stage/kafka_data_by_project.txt b/tests/functional/test_resources/kafka_data_second_stage/kafka_data_by_project.txt index 15d898c..e4889ed 100644 --- a/tests/functional/test_resources/kafka_data_second_stage/kafka_data_by_project.txt +++ b/tests/functional/test_resources/kafka_data_second_stage/kafka_data_by_project.txt @@ -1,2 +1,2 @@ -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 8.0, 'resource_uuid': 'all', 'host': 'all', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 16:40:46', 'aggregated_metric_name': 'vcpus_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': '9647fd5030b04a799b0411cc38c4102d', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 16:40:05', 'processing_meta': {'metric_id': 'vcpus_project'}, 'firstrecord_timestamp_unix': 1453308005.0, 'service_id': 'all', 'project_id': '9647fd5030b04a799b0411cc38c4102d', 'lastrecord_timestamp_unix': 1453308046.0, 'quantity': 6.0} -{'usage_hour': '16', 'geolocation': 'all', 'record_count': 6.0, 'resource_uuid': 'all', 'host': 'all', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 16:40:42', 'aggregated_metric_name': 'vcpus_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': '8647fd5030b04a799b0411cc38c4102d', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 16:40:00', 'processing_meta': {'metric_id': 'vcpus_project'}, 'firstrecord_timestamp_unix': 1453308000.0, 'service_id': 'all', 'project_id': '8647fd5030b04a799b0411cc38c4102d', 'lastrecord_timestamp_unix': 1453308042.0, 'quantity': 1.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 8.0, 'resource_uuid': 'all', 'host': 'all', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 16:40:46', 'aggregated_metric_name': 'vcpus_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': '9647fd5030b04a799b0411cc38c4102d', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 16:40:05', 'processing_meta': {'metric_id': 'vcpus_project'}, 'firstrecord_timestamp_unix': 1453308005.0, 'project_id': '9647fd5030b04a799b0411cc38c4102d', 'lastrecord_timestamp_unix': 1453308046.0, 'quantity': 6.0} +{'usage_hour': '16', 'geolocation': 'all', 'record_count': 6.0, 'resource_uuid': 'all', 'host': 'all', 'aggregation_period': 'prehourly', 'usage_minute': 'all', 'service_group': 'all', 'lastrecord_timestamp_string': '2016-01-20 16:40:42', 'aggregated_metric_name': 'vcpus_agg', 'user_id': 'all', 'zone': 'all', 'tenant_id': '8647fd5030b04a799b0411cc38c4102d', 'region': 'all', 'usage_date': '2016-01-20', 'firstrecord_timestamp_string': '2016-01-20 16:40:00', 'processing_meta': {'metric_id': 'vcpus_project'}, 'firstrecord_timestamp_unix': 1453308000.0, 'project_id': '8647fd5030b04a799b0411cc38c4102d', 'lastrecord_timestamp_unix': 1453308042.0, 'quantity': 1.0} diff --git a/tests/functional/test_resources/mem_total_all/record_store_df.txt b/tests/functional/test_resources/mem_total_all/record_store_df.txt index fc8b585..e08ab0a 100644 --- a/tests/functional/test_resources/mem_total_all/record_store_df.txt +++ b/tests/functional/test_resources/mem_total_all/record_store_df.txt @@ -1,55 +1,55 @@ -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:06","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"06","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:21","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"21","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:36","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"36","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:51","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"51","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:06","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"06","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:21","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"21","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:36","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"36","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:51","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"51","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:06","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"06","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:21","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"21","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:36","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"36","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:51","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"51","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:06","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"06","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:21","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"21","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:36","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"36","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:51","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"51","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:06","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"06","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:21","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"21","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:36","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"36","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:51","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"51","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:06","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"06","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:21","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"21","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:36","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"36","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:51","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"51","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:27:06","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"27","event_second":"06","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:27:21","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"27","event_second":"21","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:27:36","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"27","event_second":"36","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:27:51","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"27","event_second":"51","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:11","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"11","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:26","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"26","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:41","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"41","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:56","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"56","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:11","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"11","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:26","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"26","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:41","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"41","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:56","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"56","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:11","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"11","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:26","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"26","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:41","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"41","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:56","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"56","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:11","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"11","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:26","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"26","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:41","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"41","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:56","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"56","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:11","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"11","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:26","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"26","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:41","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"41","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:56","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"56","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:11","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"11","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:26","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"26","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:41","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"41","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:56","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"56","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:27:11","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"27","event_second":"11","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:27:26","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"27","event_second":"26","metric_group":"mem_total_all","metric_id":"mem_total_all"} -{"event_timestamp_unix":1454956061,"event_timestamp_string":"2016-02-08 18:27:41","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","service_id":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"27","event_second":"41","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:06","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"06","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:21","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"21","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:36","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"36","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:51","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"51","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:06","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"06","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:21","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"21","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:36","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"36","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:51","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"51","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:06","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"06","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:21","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"21","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:36","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"36","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:51","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"51","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:06","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"06","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:21","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"21","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:36","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"36","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:51","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"51","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:06","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"06","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:21","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"21","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:36","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"36","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:51","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"51","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:06","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"06","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:21","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"21","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:36","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"36","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:51","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"51","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:27:06","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"27","event_second":"06","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:27:21","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"27","event_second":"21","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:27:36","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"27","event_second":"36","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:27:51","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":6977.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"devstack","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"27","event_second":"51","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:11","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"11","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:26","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"26","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:41","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"41","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:21:56","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"21","event_second":"56","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:11","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"11","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:26","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"26","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:41","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"41","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:22:56","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"22","event_second":"56","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:11","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"11","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:26","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"26","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:41","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"41","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:23:56","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"23","event_second":"56","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:11","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"11","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:26","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"26","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:41","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"41","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:24:56","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"24","event_second":"56","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:11","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"11","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:26","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"26","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:41","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"41","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:25:56","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"25","event_second":"56","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:11","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"11","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:26","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"26","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:41","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"41","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:26:56","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"26","event_second":"56","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:27:11","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"27","event_second":"11","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454955666,"event_timestamp_string":"2016-02-08 18:27:26","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"27","event_second":"26","metric_group":"mem_total_all","metric_id":"mem_total_all"} +{"event_timestamp_unix":1454956061,"event_timestamp_string":"2016-02-08 18:27:41","event_type":"mem.total_mb","event_quantity_name":"mem.total_mb","event_quantity":5969.0,"event_status":"NA","event_version":"1.0","record_type":"metrics","resource_uuid":"NA","tenant_id":"987c7a31b1d84eaebb580b16a4397ad2","user_id":"NA","region":"W","zone":"1","host":"mini-mon","service_group":"host_metrics","event_date":"2016-02-08","event_hour":"18","event_minute":"27","event_second":"41","metric_group":"mem_total_all","metric_id":"mem_total_all"} diff --git a/tests/functional/test_resources/metrics_pre_hourly_data/metrics_pre_hourly_data.txt b/tests/functional/test_resources/metrics_pre_hourly_data/metrics_pre_hourly_data.txt index aed830c..4fd523b 100644 --- a/tests/functional/test_resources/metrics_pre_hourly_data/metrics_pre_hourly_data.txt +++ b/tests/functional/test_resources/metrics_pre_hourly_data/metrics_pre_hourly_data.txt @@ -1,57 +1,57 @@ -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"mem.total_mb_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"mem_total_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":16049.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"mem.total_mb_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"mem_total_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":16049.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"mem.total_mb_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:39:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"mem_total_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-20 11:49:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466423384.0,"quantity":16049.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"mem.usable_mb_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"mem_usable_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":10283.1}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"mem.usable_mb_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"mem_usable_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":10283.1}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"mem.usable_mb_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:39:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"mem_usable_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-20 11:49:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466423384.0,"quantity":10283.1}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"swiftlm.diskusage.rate_agg","record_count":34.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-10 20:27:01","tenant_id":"all","region":"all","usage_hour":"20","usage_date":"2016-06-10","processing_meta":{"oldest_quantity": "7291.0", "latest_timestamp_string": "2016-06-10 20:27:02", "latest_quantity": "6575.0", "metric_id":"swift_usage_rate", "oldest_timestamp_string": "2016-06-10 20:27:01"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-10 20:27:02","firstrecord_timestamp_unix":1465590421.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1465590422.0,"quantity":15.6502}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"swiftlm.diskusage.rate_agg","record_count":34.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-10 20:37:01","tenant_id":"all","region":"all","usage_hour":"20","usage_date":"2016-06-10","processing_meta":{"oldest_quantity": "6291.0", "latest_timestamp_string": "2016-06-10 20:37:02", "latest_quantity": "5575.0", "metric_id":"swift_usage_rate", "oldest_timestamp_string": "2016-06-10 20:37:01"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-10 20:27:02","firstrecord_timestamp_unix":1465590421.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1465590422.0,"quantity":16.6502}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"swiftlm.diskusage.rate_agg","record_count":34.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-10 20:47:01","tenant_id":"all","region":"all","usage_hour":"20","usage_date":"2016-06-10","processing_meta":{"oldest_quantity": "5291.0", "latest_timestamp_string": "2016-06-10 20:47:02", "latest_quantity": "4575.0", "metric_id":"swift_usage_rate", "oldest_timestamp_string": "2016-06-10 20:47:01"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-10 20:27:02","firstrecord_timestamp_unix":1465590421.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1465590422.0,"quantity":17.6502}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.in_bytes_sec_agg","record_count":2.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_in_b_per_sec_total_all"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":50.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.in_bytes_sec_agg","record_count":4.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_in_b_per_sec_total_all"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":100.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.in_bytes_sec_agg","record_count":6.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_in_b_per_sec_per_app"},"resource_uuid":"all","aggregation_period":"hourly","app":"wordpress","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":150.0,"extra_data_map":{"dimensions#app": "wordpress"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.in_bytes_sec_agg","record_count":8.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_in_b_per_sec_per_app"},"resource_uuid":"all","aggregation_period":"hourly","app":"wordpress","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":200.0,"extra_data_map":{"dimensions#app": "wordpress"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.cpu.total_time_agg","record_count":10.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_cpu_total_all"},"resource_uuid":"all","aggregation_period":"hourly","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":250.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.cpu.total_time_agg","record_count":12.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_cpu_total_all"},"resource_uuid":"all","aggregation_period":"hourly","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":300.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.cpu.total_time_agg","record_count":14.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_cpu_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":350.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.cpu.total_time_agg","record_count":16.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_cpu_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":400.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.cpu.total_time_agg","record_count":18.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_cpu_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":450.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.cpu.total_time_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_cpu_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":500.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.out_bytes_sec_agg","record_count":30.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_out_b_per_sec_total_all"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":750.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.out_bytes_sec_agg","record_count":32.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_out_b_per_sec_total_all"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":800.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.out_bytes_sec_agg","record_count":34.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_out_b_per_sec_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":850.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.out_bytes_sec_agg","record_count":36.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_out_b_per_sec_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":900.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":40.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_total_all"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":950.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":42.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_total_all"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":1000.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":44.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":1050.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":46.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":1100.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":48.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":1150.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":50.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":1200.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":52.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_pod_name"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"first_pod","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":1250.0,"extra_data_map":{"dimensions#pod_name":"first_pod"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":54.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_pod_name"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"first_pod","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":1300.0,"extra_data_map":{"dimensions#pod_name":"first_pod"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":56.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_pod_name"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"second_pod","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":1350.0,"extra_data_map":{"dimensions#pod_name":"second_pod"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":58.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_pod_name"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"second_pod","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":1400.0,"extra_data_map":{"dimensions#pod_name":"second_pod"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"container.cpu.total_time_agg","record_count":10.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"container_cpu_total_time_all"},"resource_uuid":"all","aggregation_period":"hourly","container_name":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":250.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"container.cpu.total_time_agg","record_count":12.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"container_cpu_total_time_all"},"resource_uuid":"all","aggregation_period":"hourly","container_name":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":300.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"container.cpu.total_time_agg","record_count":14.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"container_cpu_total_time_per_container"},"resource_uuid":"all","aggregation_period":"hourly","container_name":"container_1","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":350.0,"extra_data_map":{"dimensions#namespace":"first_namespace","dimensions#container_name":"container_1"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"container.cpu.total_time_agg","record_count":16.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"container_cpu_total_time_per_container"},"resource_uuid":"all","aggregation_period":"hourly","container_name":"container_2","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":400.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"container.cpu.total_time_agg","record_count":18.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"container_cpu_total_time_per_container"},"resource_uuid":"all","aggregation_period":"hourly","container_name":"container_1","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":450.0,"extra_data_map":{"dimensions#namespace":"second_namespace","dimensions#container_name":"container_1"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"container.cpu.total_time_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"container_cpu_total_time_per_container"},"resource_uuid":"all","aggregation_period":"hourly","container_name":"container_2","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":500.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.capacity.cpu_agg","record_count":10.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_capacity_cpu_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":250.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.capacity.cpu_agg","record_count":12.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_capacity_cpu_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":300.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.capacity.cpu_agg","record_count":14.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_capacity_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host1","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":350.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.capacity.cpu_agg","record_count":16.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_capacity_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host2","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":400.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.capacity.cpu_agg","record_count":18.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_capacity_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host1","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":450.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.capacity.cpu_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_capacity_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host2","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":500.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"cpu.total_time_sec_agg","record_count":10.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"cpu_total_time_sec_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":250.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"cpu.total_time_sec_agg","record_count":12.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"cpu_total_time_sec_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":300.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"cpu.total_time_sec_agg","record_count":14.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"cpu_total_time_sec_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host1","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":350.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"cpu.total_time_sec_agg","record_count":16.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"cpu_total_time_sec_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host2","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":400.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"cpu.total_time_sec_agg","record_count":18.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"cpu_total_time_sec_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host1","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":450.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"cpu.total_time_sec_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"cpu_total_time_sec_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host2","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":500.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.allocatable.cpu_agg","record_count":10.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_allocatable_cpu_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":250.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.allocatable.cpu_agg","record_count":12.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_allocatable_cpu_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":300.0}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.allocatable.cpu_agg","record_count":14.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_allocatable_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host1","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":350.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.allocatable.cpu_agg","record_count":16.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_allocatable_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host2","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":400.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.allocatable.cpu_agg","record_count":18.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_allocatable_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host1","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":450.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) -('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.allocatable.cpu_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_allocatable_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host2","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"service_id":"all","project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":500.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"mem.total_mb_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"mem_total_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":16049.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"mem.total_mb_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"mem_total_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":16049.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"mem.total_mb_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:39:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"mem_total_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-20 11:49:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466423384.0,"quantity":16049.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"mem.usable_mb_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"mem_usable_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":10283.1}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"mem.usable_mb_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"mem_usable_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":10283.1}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"mem.usable_mb_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:39:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"mem_usable_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-20 11:49:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466423384.0,"quantity":10283.1}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"swiftlm.diskusage.rate_agg","record_count":34.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-10 20:27:01","tenant_id":"all","region":"all","usage_hour":"20","usage_date":"2016-06-10","processing_meta":{"oldest_quantity": "7291.0", "latest_timestamp_string": "2016-06-10 20:27:02", "latest_quantity": "6575.0", "metric_id":"swift_usage_rate", "oldest_timestamp_string": "2016-06-10 20:27:01"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-10 20:27:02","firstrecord_timestamp_unix":1465590421.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1465590422.0,"quantity":15.6502}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"swiftlm.diskusage.rate_agg","record_count":34.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-10 20:37:01","tenant_id":"all","region":"all","usage_hour":"20","usage_date":"2016-06-10","processing_meta":{"oldest_quantity": "6291.0", "latest_timestamp_string": "2016-06-10 20:37:02", "latest_quantity": "5575.0", "metric_id":"swift_usage_rate", "oldest_timestamp_string": "2016-06-10 20:37:01"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-10 20:27:02","firstrecord_timestamp_unix":1465590421.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1465590422.0,"quantity":16.6502}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"swiftlm.diskusage.rate_agg","record_count":34.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-10 20:47:01","tenant_id":"all","region":"all","usage_hour":"20","usage_date":"2016-06-10","processing_meta":{"oldest_quantity": "5291.0", "latest_timestamp_string": "2016-06-10 20:47:02", "latest_quantity": "4575.0", "metric_id":"swift_usage_rate", "oldest_timestamp_string": "2016-06-10 20:47:01"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","lastrecord_timestamp_string":"2016-06-10 20:27:02","firstrecord_timestamp_unix":1465590421.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1465590422.0,"quantity":17.6502}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.in_bytes_sec_agg","record_count":2.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_in_b_per_sec_total_all"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":50.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.in_bytes_sec_agg","record_count":4.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_in_b_per_sec_total_all"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":100.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.in_bytes_sec_agg","record_count":6.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_in_b_per_sec_per_app"},"resource_uuid":"all","aggregation_period":"hourly","app":"wordpress","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":150.0,"extra_data_map":{"dimensions#app": "wordpress"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.in_bytes_sec_agg","record_count":8.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_in_b_per_sec_per_app"},"resource_uuid":"all","aggregation_period":"hourly","app":"wordpress","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":200.0,"extra_data_map":{"dimensions#app": "wordpress"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.cpu.total_time_agg","record_count":10.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_cpu_total_all"},"resource_uuid":"all","aggregation_period":"hourly","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":250.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.cpu.total_time_agg","record_count":12.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_cpu_total_all"},"resource_uuid":"all","aggregation_period":"hourly","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":300.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.cpu.total_time_agg","record_count":14.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_cpu_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":350.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.cpu.total_time_agg","record_count":16.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_cpu_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":400.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.cpu.total_time_agg","record_count":18.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_cpu_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":450.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.cpu.total_time_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_cpu_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":500.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.out_bytes_sec_agg","record_count":30.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_out_b_per_sec_total_all"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":750.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.out_bytes_sec_agg","record_count":32.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_out_b_per_sec_total_all"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":800.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.out_bytes_sec_agg","record_count":34.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_out_b_per_sec_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":850.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.net.out_bytes_sec_agg","record_count":36.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod_net_out_b_per_sec_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":900.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":40.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_total_all"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":950.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":42.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_total_all"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":1000.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":44.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":1050.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":46.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":1100.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":48.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":1150.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":50.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_namespace"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":1200.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":52.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_pod_name"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"first_pod","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":1250.0,"extra_data_map":{"dimensions#pod_name":"first_pod"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":54.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_pod_name"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"first_pod","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":1300.0,"extra_data_map":{"dimensions#pod_name":"first_pod"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":56.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_pod_name"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"second_pod","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":1350.0,"extra_data_map":{"dimensions#pod_name":"second_pod"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"pod.mem.used_bytes_agg","record_count":58.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"pod.mem_used_b_per_pod_name"},"resource_uuid":"all","aggregation_period":"hourly","app":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"second_pod","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":1400.0,"extra_data_map":{"dimensions#pod_name":"second_pod"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"container.cpu.total_time_agg","record_count":10.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"container_cpu_total_time_all"},"resource_uuid":"all","aggregation_period":"hourly","container_name":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":250.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"container.cpu.total_time_agg","record_count":12.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"container_cpu_total_time_all"},"resource_uuid":"all","aggregation_period":"hourly","container_name":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":300.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"container.cpu.total_time_agg","record_count":14.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"container_cpu_total_time_per_container"},"resource_uuid":"all","aggregation_period":"hourly","container_name":"container_1","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":350.0,"extra_data_map":{"dimensions#namespace":"first_namespace","dimensions#container_name":"container_1"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"container.cpu.total_time_agg","record_count":16.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"container_cpu_total_time_per_container"},"resource_uuid":"all","aggregation_period":"hourly","container_name":"container_2","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":400.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"container.cpu.total_time_agg","record_count":18.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"container_cpu_total_time_per_container"},"resource_uuid":"all","aggregation_period":"hourly","container_name":"container_1","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":450.0,"extra_data_map":{"dimensions#namespace":"second_namespace","dimensions#container_name":"container_1"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"container.cpu.total_time_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"container_cpu_total_time_per_container"},"resource_uuid":"all","aggregation_period":"hourly","container_name":"container_2","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","host":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":500.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.capacity.cpu_agg","record_count":10.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_capacity_cpu_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":250.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.capacity.cpu_agg","record_count":12.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_capacity_cpu_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":300.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.capacity.cpu_agg","record_count":14.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_capacity_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host1","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":350.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.capacity.cpu_agg","record_count":16.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_capacity_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host2","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":400.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.capacity.cpu_agg","record_count":18.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_capacity_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host1","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":450.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.capacity.cpu_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_capacity_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host2","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":500.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"cpu.total_time_sec_agg","record_count":10.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"cpu_total_time_sec_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":250.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"cpu.total_time_sec_agg","record_count":12.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"cpu_total_time_sec_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":300.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"cpu.total_time_sec_agg","record_count":14.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"cpu_total_time_sec_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host1","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":350.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"cpu.total_time_sec_agg","record_count":16.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"cpu_total_time_sec_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host2","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":400.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"cpu.total_time_sec_agg","record_count":18.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"cpu_total_time_sec_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host1","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":450.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"cpu.total_time_sec_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"cpu_total_time_sec_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host2","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":500.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.allocatable.cpu_agg","record_count":10.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_allocatable_cpu_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":250.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.allocatable.cpu_agg","record_count":12.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_allocatable_cpu_all"},"resource_uuid":"all","aggregation_period":"hourly","host":"all","deployment":"all","interface":"all","namespace":"all","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":300.0}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.allocatable.cpu_agg","record_count":14.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_allocatable_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host1","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":350.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.allocatable.cpu_agg","record_count":16.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_allocatable_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host2","deployment":"all","interface":"all","namespace":"first_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":400.0,"extra_data_map":{"dimensions#namespace":"first_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.allocatable.cpu_agg","record_count":18.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:24:59","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_allocatable_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host1","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:29:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422184.0,"quantity":450.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) +('',{"service_group":"all","geolocation":"all","aggregated_metric_name":"kubernetes.node.allocatable.cpu_agg","record_count":20.0,"user_id":"all","zone":"all","firstrecord_timestamp_string":"2016-06-20 11:29:44","tenant_id":"all","region":"all","usage_hour":"11","usage_date":"2016-06-20","processing_meta":{"metric_id":"kubernetes_node_allocatable_cpu_per_host"},"resource_uuid":"all","aggregation_period":"hourly","host":"host2","deployment":"all","interface":"all","namespace":"second_namespace","pod_name":"all","lastrecord_timestamp_string":"2016-06-20 11:39:44","firstrecord_timestamp_unix":1466421899.0,"project_id":"all","usage_minute":"all","lastrecord_timestamp_unix":1466422784.0,"quantity":500.0,"extra_data_map":{"dimensions#namespace":"second_namespace"}}) diff --git a/tests/functional/usage/test_fetch_quantity_agg.py b/tests/functional/usage/test_fetch_quantity_agg.py index d6b4886..11498f0 100644 --- a/tests/functional/usage/test_fetch_quantity_agg.py +++ b/tests/functional/usage/test_fetch_quantity_agg.py @@ -57,8 +57,7 @@ class TestFetchQuantityAgg(SparkContextTest): "set_default_region_to":"W"}, "event_type":"mem.total_mb", "metric_id_list":["mem_total_all"], - "required_raw_fields_list":["creation_time"], - "service_id":"host_metrics"}""" + "required_raw_fields_list":["creation_time"]}""" return [json.loads(pre_transform_specs_json)] def get_transform_specs_json_by_operation(self, diff --git a/tests/functional/usage/test_fetch_quantity_instance_usage_agg.py b/tests/functional/usage/test_fetch_quantity_instance_usage_agg.py index c3a0177..6fe6885 100644 --- a/tests/functional/usage/test_fetch_quantity_instance_usage_agg.py +++ b/tests/functional/usage/test_fetch_quantity_instance_usage_agg.py @@ -61,8 +61,7 @@ class TestFetchQuantityInstanceUsageAgg(SparkContextTest): "set_default_region_to":"W"}, "event_type":"mem.total_mb", "metric_id_list":["mem_total_all"], - "required_raw_fields_list":["creation_time"], - "service_id":"host_metrics"}""" + "required_raw_fields_list":["creation_time"]}""" return [json.loads(pre_transform_specs_json)] def get_transform_specs_json_by_operation(self, diff --git a/tests/functional/usage/test_fetch_quantity_util_agg.py b/tests/functional/usage/test_fetch_quantity_util_agg.py index ce8e292..6d04448 100644 --- a/tests/functional/usage/test_fetch_quantity_util_agg.py +++ b/tests/functional/usage/test_fetch_quantity_util_agg.py @@ -59,15 +59,13 @@ class TestFetchQuantityUtilAgg(SparkContextTest): "set_default_region_to":"W"}, "event_type":"cpu.total_logical_cores", "metric_id_list":["cpu_util_all"], - "required_raw_fields_list":["creation_time"], - "service_id":"host_metrics"}""", """ + "required_raw_fields_list":["creation_time"]}""", """ {"event_processing_params":{"set_default_zone_to":"1", "set_default_geolocation_to":"1", "set_default_region_to":"W"}, "event_type":"cpu.idle_perc", "metric_id_list":["cpu_util_all"], - "required_raw_fields_list":["creation_time"], - "service_id":"host_metrics"}"""] + "required_raw_fields_list":["creation_time"]}"""] pre_transform_specs_json_list = \ [json.loads(pre_transform_spec) for pre_transform_spec in pre_transform_specs] diff --git a/tests/functional/usage/test_fetch_quantity_util_agg_second_stage.py b/tests/functional/usage/test_fetch_quantity_util_agg_second_stage.py index 8dbcc7f..d420091 100644 --- a/tests/functional/usage/test_fetch_quantity_util_agg_second_stage.py +++ b/tests/functional/usage/test_fetch_quantity_util_agg_second_stage.py @@ -62,15 +62,13 @@ class TestFetchQuantityUtilAgg(SparkContextTest): "set_default_region_to":"W"}, "event_type":"cpu.total_logical_cores", "metric_id_list":["cpu_util_all"], - "required_raw_fields_list":["creation_time"], - "service_id":"host_metrics"}""", """ + "required_raw_fields_list":["creation_time"]}""", """ {"event_processing_params":{"set_default_zone_to":"1", "set_default_geolocation_to":"1", "set_default_region_to":"W"}, "event_type":"cpu.idle_perc", "metric_id_list":["cpu_util_all"], - "required_raw_fields_list":["creation_time"], - "service_id":"host_metrics"}"""] + "required_raw_fields_list":["creation_time"]}"""] pre_transform_specs_json_list = \ [json.loads(pre_transform_spec) for pre_transform_spec in pre_transform_specs] diff --git a/tests/functional/usage/test_vm_cpu_allocated_agg.py b/tests/functional/usage/test_vm_cpu_allocated_agg.py index 1fba7cd..77b298d 100644 --- a/tests/functional/usage/test_vm_cpu_allocated_agg.py +++ b/tests/functional/usage/test_vm_cpu_allocated_agg.py @@ -55,8 +55,7 @@ class TestVmCpuAllocatedAgg(SparkContextTest): "set_default_region_to":"W"}, "event_type":"vcpus", "metric_id_list":["vcpus_project"], - "required_raw_fields_list":["creation_time"], - "service_id":"host_metrics"}""" + "required_raw_fields_list":["creation_time"]}""" return [json.loads(pre_transform_specs_json)] def get_transform_specs_json_by_project(self): @@ -230,8 +229,7 @@ class TestVmCpuAllocatedAgg(SparkContextTest): "set_default_region_to":"W"}, "event_type":"vcpus", "metric_id_list":["vcpus_all"], - "required_raw_fields_list":["creation_time"], - "service_id":"host_metrics"}""" + "required_raw_fields_list":["creation_time"]}""" return [json.loads(pre_transform_specs_json)] def get_transform_specs_json_by_all(self): diff --git a/tests/functional/usage/test_vm_cpu_allocated_agg_second_stage.py b/tests/functional/usage/test_vm_cpu_allocated_agg_second_stage.py index a8b97a2..1a0ea17 100644 --- a/tests/functional/usage/test_vm_cpu_allocated_agg_second_stage.py +++ b/tests/functional/usage/test_vm_cpu_allocated_agg_second_stage.py @@ -62,8 +62,7 @@ class TestVmCpuAllocatedAgg(SparkContextTest): "set_default_region_to":"W"}, "event_type":"vcpus", "metric_id_list":["vcpus_project"], - "required_raw_fields_list":["creation_time"], - "service_id":"host_metrics"}""" + "required_raw_fields_list":["creation_time"]}""" return [json.loads(pre_transform_specs_json)] def get_transform_specs_json_by_project(self): @@ -370,8 +369,7 @@ class TestVmCpuAllocatedAgg(SparkContextTest): "set_default_region_to":"W"}, "event_type":"vcpus", "metric_id_list":["vcpus_all"], - "required_raw_fields_list":["creation_time"], - "service_id":"host_metrics"}""" + "required_raw_fields_list":["creation_time"]}""" return [json.loads(pre_transform_specs_json)] def get_transform_specs_json_by_all(self):