Viewing Your Prometheus Metrics - Amazon CloudWatch

Viewing Your Prometheus Metrics

You can monitor and alarm on all your Prometheus metrics including the curated pre-aggregated metrics from App Mesh, NGINX, Java/JMX, Memcached, and HAProxy, and any other manually configured Prometheus exporter you may have added. For more information about collecting metrics from other Prometheus exporters, see Tutorial for Adding a New Prometheus Scrape Target: Prometheus KPI Server Metrics.

Container Insights also provides automatic dashboards for App Mesh and NGINX. You can also access these dashboards as custom dashboards that you can configure in your environment for App Mesh and NGINX.

To see all your Prometheus metrics

  1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the navigation pane, choose Metrics.

  3. In the list of namespaces, choose ContainerInsights/Prometheus.

  4. Choose one of the sets of dimensions in the following list. Then select the checkbox next to the metrics that you want to see.

To see pre-built reports on your Prometheus metrics

  1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the navigation pane, choose Performance Monitoring.

  3. In the drop-down box near the top of the page, choose Prometheus AppMesh or Prometheus NGINX.

    In the other drop-down box, choose a cluster to view

We have also provided custom dashboards for NGINX, App Mesh, and Java/JMX.

To use a custom dashboard that Amazon has provided

  1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the navigation pane, choose Dashboards.

  3. Choose Create Dashboard. Enter a name for the new dashboard, and choose Create dashboard.

  4. In Add to this dashboard, choose Cancel.

  5. Choose Actions, View/edit source.

  6. Download one of the following JSON files:

  7. Open the JSON file that you downloaded with a text editor, and make the following changes:

    • Replace all the <CLUSTER-NAME> strings with the exact name of your cluster. Make sure not to add whitespaces before or after the text.

    • (Optional) If your cluster is in a Region other than US East (N. Virginia), replace all the us-east-1 strings with the AWS Region where your cluster is running. Make sure not to add whitespaces before or after the text.

  8. Copy the entire JSON blob and paste it into the text box in the CloudWatch console, replacing what is already in the box.

  9. Choose Update, Save dashboard.