improved server metrics api