Support multi dimensions.

Necessary for getting any metrics of StorageGateway.