distil/tests/data/map_fixture_100.json

49 lines
1.7 KiB
JSON

{
"http://localhost:8777/v2/meters/router?q.field=resource_id&q.value=dc6391f1-aeb7-4b2c-963f-33319a2680a4": [
{
"counter_name": "router",
"user_id": "6ab10df928e2487f92b950d482038c58",
"resource_id": "dc6391f1-aeb7-4b2c-963f-33319a2680a4",
"timestamp": "2014-02-11T22:52:57.680649",
"message_id": "53313770-936f-11e3-b65d-08002705114b",
"source": "openstack",
"counter_unit": "router",
"counter_volume": 1.0,
"project_id": "3f7b702e4ca14cd99aebf4c4320e00ec",
"resource_metadata": {
"status": "ACTIVE",
"event_type": "router.update.end",
"external_gateway_info.enable_snat": "True",
"admin_state_up": "True",
"tenant_id": "3f7b702e4ca14cd99aebf4c4320e00ec",
"host": "network.vagrant-ubuntu-precise-64",
"external_gateway_info.network_id": "48a95728-51ac-4e13-864c-8659499db368",
"id": "dc6391f1-aeb7-4b2c-963f-33319a2680a4",
"name": "router1"
},
"counter_type": "gauge"
},
{
"counter_name": "router",
"user_id": "6ab10df928e2487f92b950d482038c58",
"resource_id": "dc6391f1-aeb7-4b2c-963f-33319a2680a4",
"timestamp": "2014-02-11T22:52:54.598593",
"message_id": "530b8016-936f-11e3-b65d-08002705114b",
"source": "openstack",
"counter_unit": "router",
"counter_volume": 1.0,
"project_id": "3f7b702e4ca14cd99aebf4c4320e00ec",
"resource_metadata": {
"external_gateway_info": "None",
"status": "ACTIVE",
"event_type": "router.create.end",
"admin_state_up": "True",
"tenant_id": "3f7b702e4ca14cd99aebf4c4320e00ec",
"host": "network.vagrant-ubuntu-precise-64",
"id": "dc6391f1-aeb7-4b2c-963f-33319a2680a4",
"name": "router1"
},
"counter_type": "gauge"
}
]
}