mongodb stores samples inefficiently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Won't Fix
|
Low
|
Unassigned |
Bug Description
this is a sample
{
"_id" : ObjectId(
"counter_name" : "image",
"user_id" : null,
"resource_id" : "0a071d35-
"timestamp" : ISODate(
"message_
"message_id" : "c10f8646-
"source" : "openstack",
"counter_unit" : "image",
"counter_volume" : 1,
"recorded_at" : ISODate(
"project_id" : "a9d933eefc2c4d
"resource_
"status" : "active",
"deleted_at" : null,
"event_type" : "image.update",
"name" : "cirros-
"deleted" : false,
"container_
"created_at" : "2015-03-
"disk_format" : "ari",
"updated_at" : "2015-03-
"id" : "0a071d35-
"min_disk" : 0,
"host" : "image.localhost",
"protected" : false,
"min_ram" : 0,
"checksum" : "68085af2609d03
"owner" : "a9d933eefc2c4d
"is_public" : true,
"virtual_size" : null,
"properties" : {
},
"size" : 3723817
},
"counter_type" : "gauge"}
this is a resource:
{
"_id" : "6737e64d-
"source" : "openstack",
"project_id" : "a9d933eefc2c4d
"user_id" : null,
"first_
"last_
"metadata" : {
"status" : "active",
"name" : "cirros-
"deleted" : false,
"container_
"created_at" : "2015-03-
"disk_format" : "ami",
"updated_at" : "2015-03-
"protected" : false,
"min_ram" : 0,
"checksum" : "4eada48c2843d2
"min_disk" : 0,
"is_public" : true,
"deleted_at" : null,
"properties" : {
"kernel_id" : "59b465f5-
"ramdisk_id" : "0a071d35-
},
"size" : 25165824
},
"meter" : [
{
"counter_name" : "image",
"counter_unit" : "image",
"counter_type" : "gauge"
},
{
"counter_name" : "image.upload",
"counter_unit" : "image",
"counter_type" : "delta"
},
{
"counter_name" : "image.update",
"counter_unit" : "image",
"counter_type" : "delta"
},
{
"counter_name" : "image.size",
"counter_unit" : "B",
"counter_type" : "gauge"
},
{
"counter_name" : "image.download",
"counter_unit" : "B",
"counter_type" : "delta"
},
{
"counter_name" : "image.serve",
"counter_unit" : "B",
"counter_type" : "delta"
}
]
}
Changed in ceilometer: | |
importance: | Undecided → Low |
this isn't worth the investment.