Adapted to new serverstats API. Using the default periode of one second for the metrics