58 lines
2.0 KiB
JSON
58 lines
2.0 KiB
JSON
{
|
|
"http://localhost:8777/v2/meters/volume.size?q.field=resource_id&q.value=add25bff-c233-41e3-83f1-f178e0a3ca6a": [
|
|
{
|
|
"counter_name": "volume.size",
|
|
"user_id": "6ab10df928e2487f92b950d482038c58",
|
|
"resource_id": "add25bff-c233-41e3-83f1-f178e0a3ca6a",
|
|
"timestamp": "2014-02-12T02:13:00.964868",
|
|
"message_id": "32974290-938b-11e3-b65d-08002705114b",
|
|
"source": "openstack",
|
|
"counter_unit": "GB",
|
|
"counter_volume": 2.0,
|
|
"project_id": "3f7b702e4ca14cd99aebf4c4320e00ec",
|
|
"resource_metadata": {
|
|
"status": "available",
|
|
"display_name": "gfdg",
|
|
"event_type": "volume.create.end",
|
|
"availability_zone": "nova",
|
|
"tenant_id": "3f7b702e4ca14cd99aebf4c4320e00ec",
|
|
"created_at": "2014-02-12 02:12:55",
|
|
"snapshot_id": "None",
|
|
"volume_type": "None",
|
|
"host": "volume.vagrant-ubuntu-precise-64",
|
|
"volume_id": "add25bff-c233-41e3-83f1-f178e0a3ca6a",
|
|
"user_id": "6ab10df928e2487f92b950d482038c58",
|
|
"launched_at": "2014-02-12 02:13:00.939561",
|
|
"size": "2"
|
|
},
|
|
"counter_type": "gauge"
|
|
},
|
|
{
|
|
"counter_name": "volume.size",
|
|
"user_id": "6ab10df928e2487f92b950d482038c58",
|
|
"resource_id": "add25bff-c233-41e3-83f1-f178e0a3ca6a",
|
|
"timestamp": "2014-02-12T02:12:56.209333",
|
|
"message_id": "2fc26950-938b-11e3-b65d-08002705114b",
|
|
"source": "openstack",
|
|
"counter_unit": "GB",
|
|
"counter_volume": 2.0,
|
|
"project_id": "3f7b702e4ca14cd99aebf4c4320e00ec",
|
|
"resource_metadata": {
|
|
"status": "creating",
|
|
"display_name": "gfdg",
|
|
"event_type": "volume.create.start",
|
|
"availability_zone": "nova",
|
|
"tenant_id": "3f7b702e4ca14cd99aebf4c4320e00ec",
|
|
"created_at": "2014-02-12 02:12:55",
|
|
"snapshot_id": "None",
|
|
"volume_type": "None",
|
|
"host": "volume.vagrant-ubuntu-precise-64",
|
|
"volume_id": "add25bff-c233-41e3-83f1-f178e0a3ca6a",
|
|
"user_id": "6ab10df928e2487f92b950d482038c58",
|
|
"launched_at": "",
|
|
"size": "2"
|
|
},
|
|
"counter_type": "gauge"
|
|
}
|
|
]
|
|
} |