Use im.metrics instead of interacting directly with the metrics resource