Fix how metrics are emitted from servermanager