Hello Gordon,
The same happens while curl'ing the API:
root@18b26f04ced9:~# curl -g -i -X GET http://localhost:8041/v1/metric/b400fa29-9ff4-4c75-bfe8-2d456751a507 -H "User-Agent: keystoneauth1" -H "Content-Type: application/json" -H "X-Auth-Token: $token" HTTP/1.1 200 OK Date: Thu, 04 Aug 2016 20:20:16 GMT Server: Apache/2.4.7 (Ubuntu) Content-Length: 1257 Content-Type: application/json; charset=UTF-8
{"created_by_user_id": "ed4ab075ddd7466fb01228baa12c438b", "resource": {"created_by_user_id": "ed4ab075ddd7466fb01228baa12c438b", "started_at": "2016-07-14T20:49:25.234150+00:00", "user_id": "d6932fe98cad4fcc8c72d8fd25d83bce", "revision_end": null, "revision_start": "2016-07-14T20:49:25.234178+00:00", "created_by_project_id": null, "original_resource_id": "f9031504-2422-4ba2-a899-0712dfce4dcd", "ended_at": null, "project_id": "8f101a1a2b88420590be6b7f677d0de8", "type": "instance", "id": "f9031504-2422-4ba2-a899-0712dfce4dcd"}, "name": "cpu.delta.cost", "created_by_project_id": null, "archive_policy": {"definition": [{"points": 8640, "timespan": "360 days, 0:00:00", "granularity": "1:00:00"}, {"points": 1080, "timespan": "1080 days, 0:00:00", "granularity": "1 day, 0:00:00"}, {"points": 257, "timespan": "1799 days, 0:00:00", "granularity": "7 days, 0:00:00"}, {"points": 120, "timespan": "3600 days, 0:00:00", "granularity": "30 days, 0:00:00"}, {"points": 60, "timespan": "5400 days, 0:00:00", "granularity": "90 days, 0:00:00"}, {"points": 20, "timespan": "7200 days, 0:00:00", "granularity": "360 days, 0:0root@18b26f04ced9:~# root@18b26f04ced9:~# root@18b26f04ced9:~# curl -g -i -X GET http://localhost:8041/v1/metric -H "User-Agent: keystoneauth1" -H "Content-Type: application/json" -H "X-Auth-Token: $token" | grep b400fa29-9ff4-4c75-bfe8-2d456751a507 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 956k 100 956k 0 0 1132k 0 --:--:-- --:--:-- --:--:-- 1131k root@18b26f04ced9:~#
Regards.
Hello Gordon,
The same happens while curl'ing the API:
root@18b26f04ce d9:~# curl -g -i -X GET http:// localhost: 8041/v1/ metric/ b400fa29- 9ff4-4c75- bfe8-2d456751a5 07 -H "User-Agent: keystoneauth1" -H "Content-Type: application/json" -H "X-Auth-Token: $token"
HTTP/1.1 200 OK
Date: Thu, 04 Aug 2016 20:20:16 GMT
Server: Apache/2.4.7 (Ubuntu)
Content-Length: 1257
Content-Type: application/json; charset=UTF-8
{"created_ by_user_ id": "ed4ab075ddd746 6fb01228baa12c4 38b", "resource": {"created_ by_user_ id": "ed4ab075ddd746 6fb01228baa12c4 38b", "started_at": "2016-07- 14T20:49: 25.234150+ 00:00", "user_id": "d6932fe98cad4f cc8c72d8fd25d83 bce", "revision_end": null, "revision_start": "2016-07- 14T20:49: 25.234178+ 00:00", "created_ by_project_ id": null, "original_ resource_ id": "f9031504- 2422-4ba2- a899-0712dfce4d cd", "ended_at": null, "project_id": "8f101a1a2b8842 0590be6b7f677d0 de8", "type": "instance", "id": "f9031504- 2422-4ba2- a899-0712dfce4d cd"}, "name": "cpu.delta.cost", "created_ by_project_ id": null, "archive_policy": {"definition": [{"points": 8640, "timespan": "360 days, 0:00:00", "granularity": "1:00:00"}, {"points": 1080, "timespan": "1080 days, 0:00:00", "granularity": "1 day, 0:00:00"}, {"points": 257, "timespan": "1799 days, 0:00:00", "granularity": "7 days, 0:00:00"}, {"points": 120, "timespan": "3600 days, 0:00:00", "granularity": "30 days, 0:00:00"}, {"points": 60, "timespan": "5400 days, 0:00:00", "granularity": "90 days, 0:00:00"}, {"points": 20, "timespan": "7200 days, 0:00:00", "granularity": "360 days, 0:0root@ 18b26f04ced9: ~# d9:~# d9:~# curl -g -i -X GET http:// localhost: 8041/v1/ metric -H "User-Agent: keystoneauth1" -H "Content-Type: application/json" -H "X-Auth-Token: $token" | grep b400fa29- 9ff4-4c75- bfe8-2d456751a5 07
Dload Upload Total Spent Left Speed d9:~#
root@18b26f04ce
root@18b26f04ce
% Total % Received % Xferd Average Speed Time Time Time Current
100 956k 100 956k 0 0 1132k 0 --:--:-- --:--:-- --:--:-- 1131k
root@18b26f04ce
Regards.