[ Web Proxy ]
URL:
Viewing: https://cloud.google.com/gemini/enterprise/docs/access-metrics [Back]  [Original]

Access metrics  |  Gemini Enterprise  |  Google Cloud Documentation Skip to main content
Google Cloud Documentation [Google Cloud Documentation]
Send feedback

Access metrics Stay organized with collections Save and categorize content based on your preferences.

This document describes how to access the metrics generated by your Gemini Enterprise app. These metrics provide insights into the performance and health of your application.

You can view metric telemetry using either the Metrics Explorer or directly within individual agents using the agent's Observability tab.

Key concepts

This section introduces key concepts related to observability in Gemini Enterprise.

Concept Description
Metrics Metrics are numerical measurements that systems collect over time. These measurements represent the performance, resource utilization, or behavior of a system. Engineers use metrics to monitor system health, identify trends, and trigger alerts.

Before you begin

Make sure you have the following:

Data retention

Metrics generated by your Gemini Enterprise app are stored in Cloud Monitoring in your Google Cloud project, and their retention is governed by Cloud Monitoring. Gemini Enterprise metrics are published under the discoveryengine.googleapis.com/ prefix, which falls under the "all other Google Cloud metrics" tier and is retained for 6 weeks by default. Data older than the retention period is automatically deleted. For the authoritative and most current retention values, see Data retention in the Cloud Monitoring quotas and limits documentation.

Access metrics in Metrics Explorer

To access the metrics, follow these steps:

  1. In the Google Cloud console, go to the Metrics Explorer page.

    Go to Metrics Explorer

  2. Select the Google Cloud project where your Gemini Enterprise app was created.

  3. Click Select a metric to open a search bar.

  4. In the search bar, look for the following metrics:

    Note: Metrics data refreshes every minute.
    Metric Name Description
    Gemini Enterprise Agent - Gemini Enterprise Agent Session Count The number of sessions handled by the Gemini Enterprise Agent.
    Gemini Enterprise Agent - Gemini Enterprise Agent Tool Count The number of times tools were invoked by the Gemini Enterprise Agent.
    Gemini Enterprise Agent - Gemini Enterprise Agent Turn Count The number of conversational turns within Gemini Enterprise Agent sessions.
    Gemini Enterprise Agent - Gemini Enterprise Agent Total Latency The total latency of responses from the Gemini Enterprise Agent.
    Gemini Enterprise Agent - Gemini Enterprise Agent Tool Total Latency The total latency incurred by tool executions within the Gemini Enterprise Agent.
    Gemini Enterprise DataConnector - Gemini Enterprise DataConnector Request Count The total count of requests made to the Gemini Enterprise data connectors (also referred to as data stores in the Google Cloud console).
  5. Select the metric you want to explore and click Apply.

  6. Optionally, set additional label filters, aggregation elements, and adjust the time range.

    Note: For more information on using the Metrics Explorer, see Create charts with Metrics Explorer.

    Screenshot of the Metrics Explorer in the Google Cloud console, showing Gemini Enterprise Agent metrics. [Screenshot of the Metrics Explorer in the Google Cloud console, showing Gemini Enterprise Agent metrics.]

Access metrics for agents

You can also view operational, tool-specific, and session metric dashboards directly for individual agents on the agent's Observability tab in the Google Cloud console.

Note: The Observability tab is available for the Core Assistant agent, Agent Designer agents, and Deep Research agents.

To access metrics for an agent:

  1. In the Google Cloud console, navigate to your app, and then click Agents.
  2. Select the agent you want to inspect, and then click the Observability tab.

The Observability tab provides key operational telemetry divided into two views: Overview and Tools.

Overview metrics

This view provides a dashboard summarizing standard session and agent health data, which includes:

Screenshot of the Observability tab's Overview view in the Google Cloud console, showing sessions, average turns per session, and agent invocations, latency, traffic, and error rate [Screenshot of the Observability tab's Overview view in the Google Cloud console, showing sessions, average turns per session, and agent invocations, latency, traffic, and error rate]

Tools metrics

This view focuses specifically on the usage and latency of tools connected to your agent, which includes:

What's next

Send feedback

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-08-18 UTC.

Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-18 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page