Hi Team, I am Unable to set data Alerts depending...
# support
g
Hi Team, I am Unable to set data Alerts depending upon different events not able to get the correct metric can anyone help me with the same.
n
Hey @Gourav Upadhyay Could you please elaborate on the issue you're experiencing and, if possible, share your setup details?
g
@Nagesh Bansal I am not able to understand which metric i should use to get alert on pod restart, crashloopbackoff etc. and understand the y axis.
n
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/k8sclusterreceiverKubeletStatsMetrics ◦ 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.mdhostMetrics ◦ 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