Why is No Data shown for the Pod metrics?

Why is No Data shown for the Pod metrics?

In your Site24x7 web client (Server > Kubernetes > Pods > select the Pod monitor > click Performance), you might get No Data for metrics such as CPU Limit and Requests, Memory Limit and Requests, CPU Utilization, and Memory Utilization (%) as shown below: 


This happens because the Site24x7 Kubernetes agent cannot collect CPU limits or requests or memory limits or requests if the resource configuration is not set for the Pod in its respective deployment file, as shown below:


 


You will be able to see the metrics in the Site24x7 web client if the resource configuration for the Pod is set in its respective deployment file, as shown below:  




Now, the output will be:




How do we calculate CPU Utilization and Memory Utilization?

 

CPU Utilization is calculated as below:

  CPU Utilization = (CPU Usage/CPU Limit) * 100

 

Memory Utilization is calculated as below:

              Memory Utilization (%) = (Memory Usage/Memory Limit) * 100

 

Since the CPU and Memory Utilization metrics depend on their respective configuration data limit, they will be shown as No Data.

 

However, CPU Usage (millicores) and Memory Usage (mebibytes) will be shown irrespective of the resource configuration.

    • Related Articles

    • How to uninstall the Site24x7 Kubernetes monitoring agent

      Execute the below commands to uninstall the Site24x7 Kubernetes monitoring agent from your cluster: Deletion command for the DaemonSet agent deployed using a YAML file: kubectl delete -f site24x7-agent.yaml or kubectl delete ds,sa site24x7-agent -n ...
    • Data retention period for APM metrics

      The table below explains the data retention period for APM metrics data stored by Site24x7. Data type Retention period Traces 7 days Raw data or other metrics 30 days Reports 5 years Related Articles: Data retention for logs Data retention in Real ...
    • How does Site24x7 Kubernetes monitor calculate the memory and CPU utilization for pods?

      Site24x7 Kubernetes Monitor uses the kubelet API and kube-state-metrics API to collect the metrics related to memory and CPU utilization. For memory utilization, the calculation works as follows: Working set size (WSS) memory usage ...
    • Unable to use the latest features and the new metrics in Kubernetes

      You need to upgrade your Site24x7 Kubernetes monitoring agent to derive the new metrics and use the latest features. To do this, follow the below steps: Download the latest site24x7-agent.yaml from the Site24x7 web console. Apply the YAML using the ...
    • Licensing for Kubernetes monitoring (old)

      This article contains the licensing model for the customers who signed up before August 2024. Check out this article for more information on the new licensing pattern. Note that the new licensing model applies to users who signed up after August ...