---
title: Gemini for Google Cloud
description: Monitor Gemini for Google Cloud Code Assist and Cloud Assist usage metrics.
breadcrumbs: Docs > Integrations > Gemini for Google Cloud
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Gemini for Google Cloud
Integration version1.0.0
{% callout %}
# Important note for users on the following Datadog sites: us2.ddog-gov.com

{% alert level="info" %}
To find out if this integration is available in your organization, see your [Datadog Integrations](https://app.datadoghq.com/integrations) page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [support@ddog-gov.com](mailto:support@ddog-gov.com).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

[Gemini for Google Cloud](https://cloud.google.com/gemini/docs/overview) is Google Cloud's AI assistance offering, powered by the Cloud AI Companion API. It works in conjunction with [Gemini Cloud Assist](https://cloud.google.com/gemini/docs/cloud-assist) and [Gemini Code Assist](https://cloud.google.com/gemini/docs/codeassist/overview) to help developers write, review, and troubleshoot code, and to assist operators with day-to-day cloud usage directly inside the console. Monitor the rate at which Code Assist suggestions are offered and accepted, along with overall assistant usage, to understand adoption and effectiveness across your teams.

## Setup{% #setup %}

### Installation{% #installation %}

If you haven't already, set up the [Google Cloud Platform integration](https://docs.datadoghq.com/integrations/google-cloud-platform.md) first. There are no other installation steps.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **gcp.cloudaicompanion.code_assist.chat_responses_count**(count)                  | Count of chat responses viewed by Code Assist users since the last sample.                                                                           |
| **gcp.cloudaicompanion.code_assist.code_lines_accepted_count**(count)            | Total count of lines of code accepted by Code Assist users.                                                                                          |
| **gcp.cloudaicompanion.code_assist.code_suggestions_accepted_count**(count)      | Total count of code suggestions accepted by Code Assist users.                                                                                       |
| **gcp.cloudaicompanion.code_assist.code_suggestions_count**(count)                | Total count of code suggestions offered to Code Assist users.                                                                                        |
| **gcp.cloudaicompanion.code_assist.daily_active_user_count**(gauge)              | Total count of Code Assist users active for the previous 24-hour period.                                                                             |
| **gcp.cloudaicompanion.code_assist.twenty_eight_day_active_user_count**(gauge) | Total count of Code Assist users active for the previous 28-day period.                                                                              |
| **gcp.cloudaicompanion.usage.response_count**(count)                                | Number of responses sent from a Gemini for Google Cloud service. Some responses, particularly duplicates, may be hidden from the user for usability. |
| **gcp.cloudaicompanion.usage.responses.daily_active_users**(gauge)                 | Daily active users, defined as users who have been sent a response from a Gemini for Google Cloud service.                                           |
| **gcp.cloudaicompanion.usage.responses.seven_day_active_users**(gauge)            | Seven-day active users, defined as users who have been sent a response from a Gemini for Google Cloud service.                                       |
| **gcp.cloudaicompanion.usage.responses.twenty_eight_day_active_users**(gauge)    | Twenty-eight-day active users, defined as users who have been sent a response from a Gemini for Google Cloud service.                                |

### Events{% #events %}

The Gemini for Google Cloud integration does not include any events.

### Service Checks{% #service-checks %}

The Gemini for Google Cloud integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
