mongodb stores samples inefficiently

Bug #1434244 reported by gordon chung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Won't Fix
Low
Unassigned

Bug Description

this is a sample

{
 "_id" : ObjectId("550b104abf4d2c37a4557ab3"),
 "counter_name" : "image",
 "user_id" : null,
 "resource_id" : "0a071d35-5970-41d1-9eae-c093b18c1e7d",
 "timestamp" : ISODate("2015-03-19T18:05:57.540Z"),
 "message_signature" : "03a7c6848ecf3c09ab529e7e3ed4b825339b8280d9a44b3cd91305f734d2eb63",
 "message_id" : "c10f8646-ce62-11e4-835e-28b2bd01ed52",
 "source" : "openstack",
 "counter_unit" : "image",
 "counter_volume" : 1,
 "recorded_at" : ISODate("2015-03-19T18:07:06.949Z"),
 "project_id" : "a9d933eefc2c4da28b5df1ca415752e5",
 "resource_metadata" : {
  "status" : "active",
  "deleted_at" : null,
  "event_type" : "image.update",
  "name" : "cirros-0.3.2-x86_64-uec-ramdisk",
  "deleted" : false,
  "container_format" : "ari",
  "created_at" : "2015-03-19T18:05:56.000000",
  "disk_format" : "ari",
  "updated_at" : "2015-03-19T18:05:57.000000",
  "id" : "0a071d35-5970-41d1-9eae-c093b18c1e7d",
  "min_disk" : 0,
  "host" : "image.localhost",
  "protected" : false,
  "min_ram" : 0,
  "checksum" : "68085af2609d03e51c7662395b5b6e4b",
  "owner" : "a9d933eefc2c4da28b5df1ca415752e5",
  "is_public" : true,
  "virtual_size" : null,
  "properties" : {

  },
  "size" : 3723817
 },
 "counter_type" : "gauge"}

this is a resource:

{
 "_id" : "6737e64d-4051-42da-a5fd-5b10a0a6878c",
 "source" : "openstack",
 "project_id" : "a9d933eefc2c4da28b5df1ca415752e5",
 "user_id" : null,
 "first_sample_timestamp" : ISODate("2015-03-19T18:05:59.636Z"),
 "last_sample_timestamp" : ISODate("2015-03-19T19:16:51Z"),
 "metadata" : {
  "status" : "active",
  "name" : "cirros-0.3.2-x86_64-uec",
  "deleted" : false,
  "container_format" : "ami",
  "created_at" : "2015-03-19T18:05:58.000000",
  "disk_format" : "ami",
  "updated_at" : "2015-03-19T18:05:59.000000",
  "protected" : false,
  "min_ram" : 0,
  "checksum" : "4eada48c2843d2a262c814ddc92ecf2c",
  "min_disk" : 0,
  "is_public" : true,
  "deleted_at" : null,
  "properties" : {
   "kernel_id" : "59b465f5-60f0-41df-b3a9-bb30f8895552",
   "ramdisk_id" : "0a071d35-5970-41d1-9eae-c093b18c1e7d"
  },
  "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"
  }
 ]
}

Lianhao Lu (lianhao-lu)
Changed in ceilometer:
importance: Undecided → Low
Revision history for this message
gordon chung (chungg) wrote :

this isn't worth the investment.

Changed in ceilometer:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.