API returns wrong CPU usage



  • Hello,

    I noticed today that the game is showing abnormal CPU usage on my account:
    0_1512766296804_browser.png
    (I tried to disable browser plugins just in case and they are not the problem)

    I checked my bucket and it is still full:

    dump(Game.cpu)
    [21:47:43][shard2]object:{"tickLimit":500,"limit":130,"bucket":10000,"shardLimits":{"shard2":130}}

    Thus, I am actually not using that much CPU. I think that the game is reported incorrect CPUusage.

    I see the same bug with my grafana dashboard, so I guess that it is related to the API:
    0_1512766387405_grafana.png

    According to these stats, the problem already occured for 1h30 at 23:30 yesterday (UTC+1) and started again today at 20:00 (UTC+1).

    No idea where it could come from though.

    Regards,
    Hiryus