Reviewed: https://review.openstack.org/287993 Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=1d73a6f12f123743e51674b5dbc876bf3d600cd8 Submitter: Jenkins Branch: master
commit 1d73a6f12f123743e51674b5dbc876bf3d600cd8 Author: Ilya Tyaptin <email address hidden> Date: Thu Mar 3 20:12:06 2016 +0300
Cast Int64 values to int, float in statistics
Currently statistics requests fail with type errors. It causes by the fact that pymongo returns bson.Int64 instead of float or int for big nums. It affects a `cpu` meter usually.
Change-Id: I744a9f79a4bbc3b2ecdd73c126b0859f3f8a733c Closes-bug: #1532661
Reviewed: https:/ /review. openstack. org/287993 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=1d73a6f12f1 23743e51674b5db c876bf3d600cd8
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1d73a6f12f12374 3e51674b5dbc876 bf3d600cd8
Author: Ilya Tyaptin <email address hidden>
Date: Thu Mar 3 20:12:06 2016 +0300
Cast Int64 values to int, float in statistics
Currently statistics requests fail with type errors.
It causes by the fact that pymongo returns bson.Int64
instead of float or int for big nums. It affects a `cpu`
meter usually.
Change-Id: I744a9f79a4bbc3 b2ecdd73c126b08 59f3f8a733c
Closes-bug: #1532661