This changes the custom metrics client logic over to support multiple versions of the custom metrics API by checking discovery to find the appropriate versions. Fixes #68011 Co-authored-by: Solly Ross <sross@redhat.com>