Combine metrics with dynamic names

If I understand your request correctly - and if you are using the enterprise (or free/cloud) edition you can use: How to combine all same metrics of a series of hosts into a custom graph in one go - #2 by gstolz