• Ilya Tyaptin's avatar
    Cast Int64 values to int, float in statistics · 1d73a6f1
    Ilya Tyaptin authored
    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
    1d73a6f1
impl_mongodb.py 28.2 KB