Hey
@Gourav Upadhyay here are the some details for getting metrics realted to memory/cpu utilization:
•
clusterReciver
◦ Gathers cluster-wide metrics and entity events (nodes, pods, services, etc.) directly from the Kubernetes API server
◦ Reference:
https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/k8sclusterreceiver
•
KubeletStatsMetrics
◦ Pulls detailed resource usage stats (CPU, memory, filesystem, network) for nodes, pods, containers, and volumes from each kubelet’s API
◦ Reference:
https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/kubeletstatsreceiver/README.md
•
hostMetrics
◦ Scrapes host-level system metrics (CPU, disk I/O, memory, network)
◦ Reference:
https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/hostmetricsreceiver/README.md
Also you can take a look at:
https://signoz.io/docs/userguide/k8s-metrics/#1-configure-the-k8s-cluster-receiver