Allow metric store to be configured