add rest metrics