Adapt to a new version of metrics in platform-client