--
© 2020 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/def9e01e-4fb2-4a0e-a3da-aac1eea01ca3n%40googlegroups.com.
Hi Igor,We have deployed our application on K8s and wanted to know the CPU and Memory utilization when traffic is sent.So ideally would need the utilization of K8s cluster level, node level, pod and container level in % to know the capacity of usage.I tried adding cast_unit on utilization metric but failed. I tried on different locations but no success. Below is what i am trying to do for ALLOCATABLE and REQUEST utiizationfetch k8s_node
| filter (resource.cluster_name == 'dp-api-bld-01-kcl-01-euwe2')| group_by 1m,
[value_allocatable_utilization_mean: mean(value.allocatable_utilization)]
| every 1m| group_by [resource.node_name],
[value_allocatable_utilization_mean_aggregate:aggregate(value_allocatable_utilization_mean)]
--Regards,
Vikram Saggu