the server metrics gathering