add metrics for server event, command, service lifecycle