Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
In diesem Dokument wird beschrieben, wie Sie die Nutzung von Gemini für Google Cloud in Ihrer Organisation überwachen können.
Gemini für Google Cloud erfasst und speichert Messwerte automatisch in Cloud Monitoring.
Mit den Tools zur Datenvisualisierung und -analyse in Cloud Monitoring können Sie wichtige Fragen beantworten, z. B. wie viele aktive Nutzer pro Tag in Ihrer Organisation Gemini für Google Cloudverwenden.
Beschränkungen
Die Aufzeichnung von Messwertdaten durch Gemini in Google Cloud ist auf Nutzerinteraktionen mit Gemini Code Assist in der IDE beschränkt.
Hinweis
Bitten Sie Ihren Administrator, Ihnen die IAM-Rolle Monitoring Viewer (roles/monitoring.viewer) für Ihr Projekt zuzuweisen, um die Berechtigungen zu erhalten, die Sie zum Aufrufen von Messwertdaten über die Google Cloud Console benötigen.
Weitere Informationen zum Zuweisen von Rollen finden Sie unter Zugriff auf Projekte, Ordner und Organisationen verwalten.
Anzahl der Antworten, die von einem Gemini für Google Cloud -Dienst gesendet wurden. Einige Antworten, z. B. Duplikate, sind möglicherweise ausgeblendet.
Messwerte von Gemini für Google Cloud in Ihrem Projekt ansehen
Cloud Monitoring installiert automatisch ein projektspezifisches Dashboard für Gemini für Google Cloud, wenn Sie die Gemini for Google Cloud API aktivieren und verwenden.
So rufen Sie zusammengefasste Messwerte für Gemini für Google Cloudauf:
Öffnen Sie in der Google Cloud Console die Seite Dashboards:
Wenn Sie diese Seite über die Suchleiste suchen, wählen Sie das Ergebnis aus, dessen Zwischenüberschrift Monitoring ist.
Klicken Sie in der Liste auf Gemini for Google Cloud.
Messwertlabels für nicht nutzerbezogene Messwerte
Die folgende Liste enthält alle Labels, die in Messwerten von Gemini fürGoogle Cloud enthalten sind. Sie können diese Labels als Filter im Monitoring-Dashboard verwenden, wenn Sie Messwerte ansehen.
method: Der Dienst, mit dem der Nutzer interagiert hat, einschließlich CompleteCode, GenerateCode, GenerateText und CompleteTask.
product: Das Gemini für Google Cloud -Produkt, das die Nachricht empfangen oder generiert hat, z. B. code_assist.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-25 (UTC)."],[[["\u003cp\u003eGemini for Google Cloud usage metrics are automatically collected and stored in Cloud Monitoring, enabling users to track and analyze data such as daily active users.\u003c/p\u003e\n"],["\u003cp\u003eThe available metrics include daily, seven-day, and twenty-eight-day active user counts, as well as the total number of responses sent by Gemini for Google Cloud.\u003c/p\u003e\n"],["\u003cp\u003eAccess to view metric data requires the Monitoring Viewer IAM role, which can be granted by an administrator, and there might be specific custom roles that can grant this access.\u003c/p\u003e\n"],["\u003cp\u003eGemini for Google Cloud metrics exclude user interactions with Gemini in BigQuery, Looker, Google Security Operations, and the Gemini pane in the Google Cloud console for Database Center.\u003c/p\u003e\n"],["\u003cp\u003eA project-specific Gemini for Google Cloud dashboard is automatically installed in Cloud Monitoring upon enabling and using the Gemini for Google Cloud API, allowing for easy viewing of aggregated metrics.\u003c/p\u003e\n"]]],[],null,["# Monitor Gemini for Google Cloud usage\n\nThis document describes how to monitor\n[Gemini for Google Cloud](/gemini/docs/overview) usage in your\norganization.\n\nGemini for Google Cloud automatically collects and stores\nmetrics in Cloud Monitoring.\n\nYou can use the data visualization and analysis tools in Cloud Monitoring to\nhelp you answer important questions, such as how many daily active users in your\norganization are using Gemini for Google Cloud.\n\nLimitations\n-----------\n\nGemini in Google Cloud metrics data recording is limited to\nuser interactions with Gemini Code Assist within the IDE.\n\nBefore you begin\n----------------\n\n\nTo get the permissions that\nyou need to view metric data by using the Google Cloud console,\n\nask your administrator to grant you the\n\n\n[Monitoring Viewer](/iam/docs/roles-permissions/monitoring#monitoring.viewer) (`roles/monitoring.viewer`)\nIAM role on your project.\n\n\nFor more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\nYou might also be able to get\nthe required permissions through [custom\nroles](/iam/docs/creating-custom-roles) or other [predefined\nroles](/iam/docs/roles-overview#predefined).\n\nAvailable metrics\n-----------------\n\nThe following table displays all available Gemini for\nGoogle Cloud metrics:\n\nView Gemini for Google Cloud metrics in your project\n----------------------------------------------------\n\nCloud Monitoring automatically installs a project-specific\nGemini for Google Cloud\n[dashboard](/monitoring/dashboards) when you enable and use the\nGemini for Google Cloud API.\n\nTo view aggregated metrics for Gemini for Google Cloud\nmetrics, do the following:\n\n1. In the Google Cloud console, go to the **Dashboards** page:\n\n [Go to **Dashboards**](https://console.cloud.google.com/monitoring/dashboards)\n\n \u003cbr /\u003e\n\n If you use the search bar to find this page, then select the result whose subheading is\n **Monitoring**.\n2. In the list, click **Gemini for Google Cloud**.\n\n### Metric labels for non-user metrics\n\nThe following list includes all labels included with Gemini for\nGoogle Cloud metrics. You can use these labels as filters in the\n**Monitoring** dashboard when you view metrics.\n\n- `method` - The service that the user interacted with, including\n `CompleteCode`, `GenerateCode`, `GenerateText`, `CompleteTask`.\n\n- `product` - The Gemini for Google Cloud product that\n received or generated the message, such as `code_assist`.\n\nWhat's next\n-----------\n\n- Learn how to view [Gemini for Google Cloud logs](/gemini/docs/log-gemini).\n- Learn how to [monitor services and resources on Google Cloud](/monitoring/docs/monitoring-overview)."]]