La surveillance des taux de performances des disques fournit des informations utiles pour vous aider à trouver la taille et la configuration appropriées pour vos disques. Compute Engine vous permet d'afficher les taux d'IOPS et de débit moyens et maximaux de vos disques à l'aide de l'onglet Observabilité de la consoleTrusted Cloud . Cet onglet fournit un tableau de bord prédéfini à l'aide de données de métriques afin que vous puissiez surveiller les performances et la configuration de vos disques.
Par défaut, l'onglet Observabilité affiche les graphiques suivants pour les IOPS et le débit :
- Débit moyen (Mo/s) : débit moyen, en Mo/s, d'un disque sur une période donnée
- Moyenne des opérations (IOPS) : nombre moyen d'opérations d'E/S par seconde (IOPS) pour un disque sur une période donnée
- Débit maximal (Mo/s) : taux de débit maximal, en Mo par seconde, pour un disque sur une période donnée
- Opérations lors d'un pic d'activité (IOPS) : nombre maximal d'opérations d'E/S par seconde (IOPS) pour un disque sur une période donnée
Vous pouvez sélectionner la période des graphiques sur cette page à l'aide de valeurs prédéfinies (une heure, six heures, un jour, une semaine, un mois ou six semaines). Vous pouvez également spécifier une période personnalisée pour les données du graphique.
Avant de commencer
-
Si ce n'est pas déjà fait, configurez l'authentification.
L'authentification est le processus permettant de valider votre identité pour accéder aux services et aux API Trusted Cloud by S3NS .
Pour exécuter du code ou des exemples depuis un environnement de développement local, vous pouvez vous authentifier auprès de Compute Engine en sélectionnant l'une des options suivantes :
Select the tab for how you plan to use the samples on this page:
Console
When you use the Trusted Cloud console to access Trusted Cloud by S3NS services and APIs, you don't need to set up authentication.
gcloud
-
Installez la Google Cloud CLI, puis connectez-vous à la gcloud CLI avec votre identité fédérée. Après vous être connecté, initialisez Google Cloud CLI en exécutant la commande suivante :
gcloud init
- Set a default region and zone.
REST
Pour utiliser les exemples d'API REST de cette page dans un environnement de développement local, vous devez utiliser les identifiants que vous fournissez à gcloud CLI.
Installez la Google Cloud CLI, puis connectez-vous à la gcloud CLI avec votre identité fédérée. Après vous être connecté, initialisez Google Cloud CLI en exécutant la commande suivante :
gcloud init
Pour en savoir plus, consultez la section S'authentifier pour utiliser REST dans la documentation sur l'authentification Trusted Cloud .
Accéder à la page de surveillance d'un seul disque
Vous pouvez afficher la page de surveillance des disques dans la console Trusted Cloud .
Dans la console Trusted Cloud , accédez à la page Disques.
Cliquez sur le nom d'un disque pour ouvrir la page Gérer le disque.
Cliquez sur l'onglet Observabilité pour afficher le tableau de bord de surveillance du disque.
Facultatif : Réinitialisez la période par défaut d'une heure sur la période que vous souhaitez surveiller en choisissant l'une des options suivantes :
- 6 heures
- 1 jour
- 1 week
- 1 mois
- 6 semaines
- Période personnalisée
Personnaliser le tableau de bord de surveillance des disques
Suivez les instructions ci-dessous pour modifier les graphiques affichés dans le tableau de bord de surveillance des disques.
- Accédez à l'onglet Observabilité du disque.
Cliquez sur query_stats Explorer les données.
Une page Explorer s'ouvre, vous permettant de créer un graphique ou un tableau de surveillance personnalisé. Pour savoir comment créer un graphique pour une métrique spécifique, consultez Représenter un seul type de métrique dans un graphique.
Après avoir créé un graphique ou un tableau personnalisé, vous pouvez enregistrer le résultat dans un tableau de bord personnalisé nouveau ou existant.
Pour en savoir plus sur les tableaux de bord personnalisés, consultez Afficher et personnaliser les tableaux de bord Trusted Cloud by S3NS .
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/18 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/08/18 (UTC)."],[[["\u003cp\u003eCompute Engine's Observability tab allows users to monitor disk performance, including average and peak IOPS and throughput rates.\u003c/p\u003e\n"],["\u003cp\u003eThe Observability tab provides default graphs for Mean and Peak Throughput (MB/s) and Mean and Peak Operations (IOPS) to show disk performance over time.\u003c/p\u003e\n"],["\u003cp\u003eUsers can view performance data for predefined timeframes like one hour, six hours, one day, one week, one month, or six weeks, as well as a custom time period.\u003c/p\u003e\n"],["\u003cp\u003eThe disk monitoring page can be accessed via the Google Cloud console by navigating to the Disks page, selecting a specific disk, and clicking the Observability tab.\u003c/p\u003e\n"],["\u003cp\u003eUsers can customize the monitoring dashboard by using the Explore Data function, and saving the results to a new or existing custom dashboard.\u003c/p\u003e\n"]]],[],null,["# Monitor disk IOPS and throughput rates\n\n*** ** * ** ***\n\nMonitoring disk performance rates provides useful information to help you find\nthe right size and configuration of your disks.\nCompute Engine lets you view the average and peak IOPS and throughput\nrates for your disks by using the **Observability** tab in the\nGoogle Cloud console. This tab provides a predefined dashboard using\n[metric data](/compute/docs/disks/review-storage-pool-metrics)\nso you can monitor your disk performance and configuration.\n\nThe **Observability** tab shows the following graphs for IOPS and\nthroughput by default:\n\n- Mean Throughput (MB/s): the average throughput rate, in MB per second, for a disk over a period of time\n- Mean Operations (IOPS): the average number of I/O operations per second (IOPS) for a disk over a period of time\n- Peak Throughput (MB/s): the peak throughput rates, in MB per second, for a disk over a period of time\n- Peak Operations (IOPS): the peak number of I/O operations per second (IOPS) for a disk over a period of time\n\nYou can select the time period for the graphs on this page, using predefined\nvalues of one hour, six hours, one day, one week, one month, or six weeks.\nYou can also specify a custom time period for the graph data.\n\n\nBefore you begin\n----------------\n\n- If you haven't already, set up [authentication](/compute/docs/authentication). Authentication verifies your identity for access to Google Cloud services and APIs. To run code or samples from a local development environment, you can authenticate to Compute Engine by selecting one of the following options:\n\n Select the tab for how you plan to use the samples on this page: \n\n ### Console\n\n\n When you use the Google Cloud console to access Google Cloud services and\n APIs, you don't need to set up authentication.\n\n ### gcloud\n\n 1.\n [Install](/sdk/docs/install) the Google Cloud CLI.\n\n After installation,\n [initialize](/sdk/docs/initializing) the Google Cloud CLI by running the following command:\n\n ```bash\n gcloud init\n ```\n\n\n If you're using an external identity provider (IdP), you must first\n [sign in to the gcloud CLI with your federated identity](/iam/docs/workforce-log-in-gcloud).\n | **Note:** If you installed the gcloud CLI previously, make sure you have the latest version by running `gcloud components update`.\n 2. [Set a default region and zone](/compute/docs/gcloud-compute#set_default_zone_and_region_in_your_local_client).\n\n ### REST\n\n\n To use the REST API samples on this page in a local development environment, you use the\n credentials you provide to the gcloud CLI.\n 1. [Install](/sdk/docs/install) the Google Cloud CLI. After installation, [initialize](/sdk/docs/initializing) the Google Cloud CLI by running the following command: \n\n ```bash\n gcloud init\n ```\n 2. If you're using an external identity provider (IdP), you must first [sign in to the gcloud CLI with your federated identity](/iam/docs/workforce-log-in-gcloud).\n\n\n For more information, see\n [Authenticate for using REST](/docs/authentication/rest)\n in the Google Cloud authentication documentation.\n\nAccess the disk monitoring page for a single disk\n-------------------------------------------------\n\nYou can view the disk monitoring page in the Google Cloud console.\n\n1. In the Google Cloud console, go to the **Disks** page.\n\n [Go to Disks](https://console.cloud.google.com/compute/disks)\n2. Click the name of a disk to open the **Manage disk** page.\n\n3. Click the **Observability** tab to display the monitoring dashboard for the\n disk.\n\n4. Optional: Reset the one hour default timeframe to the timeframe you want\n to monitor, by choosing one of the following options:\n\n - 6 hours\n - 1 day\n - 1 week\n - 1 month\n - 6 weeks\n - Custom date or time range\n\nCustomize the disk monitoring dashboard\n---------------------------------------\n\nUse the following instructions to modify the graphs shown on the\ndisk monitoring dashboard.\n\n1. [Access the disk **Observability** tab](#access).\n2. Click query_stats\n **Explore data**.\n\n This opens an **Explore** page, where you can create a customized monitoring\n chart or table. For information about how to create a chart for\n a specific metric, see\n [Chart a single metric type](/monitoring/charts/metrics-explorer#find-me).\n3. After creating a custom graph or table, you can save the result to a new or\n existing custom dashboard.\n\n For more information about custom dashboards, see\n [View and customize Google Cloud dashboards](/monitoring/charts/predefined-dashboards)."]] -