This document describes how to access the metrics generated by your Gemini Enterprise app in the Metrics Explorer. These metrics provide insights into the performance and health of your application.
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:
The Discovery Engine Admin role.
An existing Gemini Enterprise web app. For information about creating a new app, see Create an app.
To access the Metrics Explorer, you must have the Monitoring Viewer role (
roles/monitoring.viewer).In the Gemini Enterprise app configurations, enable the Enable instrumentation of OpenTelemetry traces and logs setting. For more information, see Manage observability settings.
Access metrics
To access the metrics, follow these steps:
In the Google Cloud console, go to the Metrics Explorer page.
Select the Google Cloud project where your Gemini Enterprise app was created.
Click Select a metric to open a search bar.
In the search bar, look for the following metrics:
- Gemini Enterprise Agent - Gemini Enterprise Agent Session Count
- Gemini Enterprise Agent - Gemini Enterprise Agent Tool Count
- Gemini Enterprise Agent - Gemini Enterprise Agent Turn Count
- Gemini Enterprise Agent - Gemini Enterprise Agent Total Latency
- Gemini Enterprise Agent - Gemini Enterprise Agent Tool Total Latency
Select the metric you want to explore and click Apply.
Optionally, set additional label filters, aggregation elements, and adjust the time range.
