Metrics 📶

Komodor shows your resource CPU and memory usage as well as their limits and requests as part of the Availability Issues to help you troubleshoot faster.

Prerequisites

Agent version 0.1.191 and above.

Agent values

The Komodor agent consists of a Deployment and a DaemonSet, the DaemonSet is responsible for collecting the metrics of Pods running on nodes it runs on.

To add it, set the following value when installing the Helm chart: --set metrics.enabled=true

Upgrade command

helm upgrade --install k8s-watcher komodorio/k8s-watcher --set watcher.actions.basic=true --set watcher.actions.advanced=true --set watcher.actions.podExec=true --set metrics.enabled=true

Access to Metrics in Availability Issues

  1. Open the Komodor UI in your web browser and navigate to any availability issue.
  2. Click on "Investigate"

2a.png

  1. The metrics will appear in the containers section - for each container you’ll see the metrics graph for CPU and memory, with the ability to switch between time periods of 24 hours / 7 days.

metrics example.png

  • The metrics will be seen only for issues that started after the agent installation.

Graph values

Komodor DaemonSet collects metrics every 15 sec. For each data point on the graph, you’ll see the average of the collected snapshots.

How to disable

To disable metrics collection, use the following command:

helm upgrade --install k8s-watcher komodorio/k8s-watcher --set watcher.actions.basic=true --set watcher.actions.advanced=true --set watcher.actions.podExec=true --set metrics.enabled=false

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.