Google Kubernetes Metrics Rest Endpoint

How to find the Kubernetes metrics endpoint which I can consume in the REST method

fetch k8s_container

| metric ‘kubernetes.io/container/cpu/request_utilization

| filter

resource.project_id == '649168536058'

&&

(resource.cluster_name == 'gcp-servicenow-cluster-1'

 && resource.location == 'us-central1-c')

| group_by 1m, [value_request_utilization_mean: mean(value.request_utilization)]

| every 1m

| group_by [resource.namespace_name],

[value_request_utilization_mean_percentile:

   percentile(value_request_utilization_mean, 50)]