This document explains how to monitor how your cluster uses resources in
Cluster Director by using prebuilt Cloud Monitoring dashboards.

Cluster Director provides prebuilt
[Monitoring dashboards](https://docs.cloud.google.com/monitoring/dashboards.md.txt) that let you view
telemetry data and track the performance of the resources that your cluster
uses. Use these dashboards to monitor the health and resource usage of your
cluster. To use customized Monitoring dashboards to monitor your
clusters, see instead
[Monitor clusters with custom dashboards or alerts](https://docs.cloud.google.com/cluster-director/docs/monitor/custom-dashboards.md.txt).

## Before you begin

When you access and use the Google Cloud console, you don't need to authenticate.
You can automatically use Google Cloud services and APIs.

### Required roles


To get the permissions that
you need to monitor clusters,

ask your administrator to grant you the
following IAM roles on the project:

- To view the details of a cluster: [Cluster Director Viewer](https://docs.cloud.google.com/iam/docs/roles-permissions/hypercomputecluster.md.txt#hypercomputecluster.viewer) (`roles/hypercomputecluster.viewer`)
- To view Monitoring dashboards: [Monitoring Viewer](https://docs.cloud.google.com/iam/docs/roles-permissions/monitoring.md.txt#monitoring.viewer) (`roles/monitoring.viewer`)


For more information about granting roles, see [Manage access to projects, folders, and organizations](https://docs.cloud.google.com/iam/docs/granting-changing-revoking-access.md.txt).


You might also be able to get
the required permissions through [custom
roles](https://docs.cloud.google.com/iam/docs/creating-custom-roles) or other [predefined
roles](https://docs.cloud.google.com/iam/docs/roles-overview#predefined).

## View Monitoring dashboards

To view the prebuilt Monitoring dashboards in a cluster, complete
the following steps:

1. In the Google Cloud console, go to the **Cluster Director** page.

   [Go to Cluster Director](https://console.cloud.google.com/cluster-director)
2. In the navigation menu, click **Clusters** . The **Clusters** page appears.

3. In the **Clusters** table, in the **Name** column, click the name of the
   cluster that you want to view the details of. A page that gives the
   details of the cluster appears, and the **Details** tab is selected.

4. Click the **Observability** tab. A pane that shows the
   [available Monitoring prebuilt dashboards](https://docs.cloud.google.com/cluster-director/docs/monitor/dashboards.md.txt#dashboards) for
   your cluster appears.

## Available Monitoring dashboards

The prebuilt Monitoring dashboards that you can view in a cluster
show real-time and historical data for the following resource categories:

- **CPU**: you can monitor vCPU usage across all nodes in your cluster. This
  information can help you improve the performance of your workloads or save
  costs by deleting unused resources.

- **Memory**: you can track memory usage to help ensure that your nodes have
  sufficient memory for your jobs and prevent out-of-memory errors.

- **Network**: you can observe network traffic patterns, including bandwidth
  and throughput. This information is useful for diagnosing and
  troubleshooting communication bottlenecks in distributed workloads.

- **Accelerators**: you can monitor accelerator performance and health in the
  following categories:

  - **GPU**: for clusters with GPU nodes, you can monitor GPU core and
    memory usage, Data Center GPU Manager (DCGM) telemetry, network traffic,
    and health status. This information helps you verify how your cluster
    uses GPU resources.

  - **TPU**: for clusters with TPU nodes, you can monitor TPU utilization,
    high bandwidth memory (HBM) usage, and node and slice health. This
    information helps you track TPU resource usage and detect runtime
    issues.

- **Orchestrator**: for Slurm clusters, you can view real-time CPU, GPU, TPU,
  and memory utilization, node health, and queue status for Slurm workloads.
  This information helps you troubleshoot job queue delays, identify
  performance bottlenecks, and balance compute capacity.

## What's next

- [View cluster topology](https://docs.cloud.google.com/cluster-director/docs/monitor/view-topology.md.txt)

- [Manage cluster health](https://docs.cloud.google.com/cluster-director/docs/monitor/cluster-health.md.txt)