better shared resource metric queries and direct saving