added spinner to metrics