Added server metric function