View Metrics

  1. In the AWS Management Console on the Services menu, click CloudWatch.
  2. In the left navigation menu, click on Metrics.

You should see a screen similar to the one below.

Metrics home

  1. Click on the namespace called ContainerInsights.

This Namespace contains all the metrics collected by CloudWatch Container Insights from the EKS clusters that have Container Insights enabled.

The following screen shows the different dimensions by which the metrics are being collected. Metrics2

  1. Select the ClusterName, Namespace, PodName dimension.

If you had more than one EKS cluster in the account, you will see all the cluster names listed there.

  1. Click on the name of a cluster named petsite, then select Add to search.

This applies a filter called ClusterName="petsite" that will return metrics from only the petsite cluster.

Metrics3 You can further filter on other columns as well.

  1. Click on the name of a podName called petsite-deployment, then select Add to search. You can further filter on other columns as well.

In the screenshot below, we have applied a filter on PodName.

Metrics4

  1. Check the checkbox next to a metric to add it to the graph.

Metrics5

  1. Click on the Graphed metrics tab.

You can change the metric statistic by clicking on the statistic type as shown below.

Metrics6

Container Insights captures metrics at 1 minute interval by default. In order to see granular data graphed, change the Period to 1 Minute.

Metrics7

This concludes this section. You may continue on to the next section.