add metrics controller