When an application slows down or starts returning errors, developers usually need to investigate several places before finding the cause. They may search application logs, inspect distributed traces, check infrastructure metrics, and review monitoring incidents in separate tools.
Datadog brings much of this monitoring information into one platform, but finding the right information can still take time. Engineers need to know which service to investigate, which filters to apply, and how to connect an error in a log with the trace that produced it.
Gemini Enterprise makes this investigation easier by connecting to Datadog through a dedicated data store. Instead of manually building every search query, users can ask questions in natural language and retrieve relevant Datadog information.
The Datadog data store became generally available in Gemini Enterprise on December 1, 2026. It supports natural-language searches across monitors, logs, metrics, traces, and incidents. Users can also read or edit dashboards and notebooks, depending on the permissions enabled by their Datadog organization.
This article explains how the integration works, how to configure it, and how developers can use natural-language questions to investigate application problems.
What Is the Gemini Enterprise and Datadog Integration?
Gemini Enterprise is Google's enterprise AI platform for searching business information and working with connected data sources. It supports integrations with third-party platforms through data stores.
Datadog is a monitoring and observability platform that collects information from applications, infrastructure, services, and cloud environments. Developers use it to investigate errors, monitor performance, and understand how requests move through distributed systems.
The Gemini Enterprise Datadog data store connects these two platforms.
<text> </text>
The integration uses Datadog's Model Context Protocol (MCP) capabilities. MCP provides a standardized way for AI applications to discover and use tools exposed by another system. In this case, Gemini Enterprise can access Datadog information through the connector without requiring developers to build a separate integration for every monitoring operation.
For example, an engineer can ask:
- Which services reported the most errors during the last hour?
- Find traces with unusually high response times.
- Show recent database connection failures.
- Are there any active incidents affecting the payment service?
- Which monitors have reported repeated failures today?
Gemini Enterprise interprets the request and uses the connected Datadog data store to retrieve relevant information.
What information can you search?
The integration supports several types of Datadog information.
| Datadog resource | How developers can use it |
| Logs | Find application errors, warnings, and events |
| Traces | Investigate request execution and service dependencies |
| Metrics | Understand latency, resource usage, and application performance |
| Monitors | Review monitoring conditions and alert status |
| Incidents | Investigate reported operational problems |
| Dashboards | Read and update monitoring dashboards |
| Notebooks | Review and maintain investigation notes |
The integration is useful because these resources are often related. An application error may appear in a log, correspond to a failed trace, and trigger a Datadog monitor. Searching across these resources can help engineers build a clearer picture of what happened.
How the Integration Works
The integration follows a connector-based architecture. Gemini Enterprise communicates with Datadog through its data store, while Datadog continues to manage the underlying monitoring information.
A simplified request flow looks like this:
Developer
|
| Natural-language question
v
Gemini Enterprise
|
| Interprets the request
v
Datadog Data Store
|
| Authorized MCP request
v
Datadog
|
| Logs, traces, metrics,
| monitors and incidents
v
Gemini Enterprise
|
| Presents relevant results
v
Developer
The process starts when a user asks a question in the Gemini Enterprise application. Gemini Enterprise uses the connected data store to send the search request to Datadog.
Datadog processes the request using the permissions of the authorized user and returns the available information. Gemini Enterprise then uses the results to prepare a response.
This is an important distinction: the integration does not require developers to export all their Datadog logs and traces into a separate Gemini Enterprise database. The documented Datadog connector uses federated search, which sends the search request directly to the Datadog API.
The original monitoring data remains in Datadog.
Prerequisites Before Connecting Datadog
Before creating the integration, make sure both platforms are configured correctly.
Google Cloud requirements
You need an active Google Cloud project with Gemini Enterprise available.
The user creating the Datadog data store must have the Discovery Engine Editor role:
roles/discoveryengine.editor
This permission allows the user to create the required data store.
You should also have an existing Gemini Enterprise application or create one during the setup process.
Datadog requirements
The official connector documentation specifies the following requirements:
| Requirement | Description |
| Datadog site | US1 site at app.datadoghq.com |
| MCP Access | Must be enabled in Datadog organization settings |
| MCP Read | Required for users performing read operations |
| MCP Write Access | Required when using operations that modify resources |
| MCP Write | Required for users performing write operations |
The connector currently supports the Datadog US1 site. Organizations using other Datadog sites should verify availability before planning a deployment.
Datadog uses Google-managed OAuth for this integration. Administrators do not need to register a separate OAuth application or manually provide a client ID and client secret.
Enabling MCP Access in Datadog
The first configuration step is enabling MCP access in Datadog.
MCP access controls whether AI clients can communicate with the Datadog MCP Server. It is enabled by default, but administrators should verify the organization setting before creating the Gemini Enterprise connection.
Follow these steps:
- Sign in to Datadog using an organization administrator account.
- Open Organization Settings.
- Navigate to the MCP settings page.
- Verify that MCP Access is enabled.
- Review the permissions assigned to the users who will access the integration.
The MCP Read permission allows users to execute tools that retrieve information. For an initial monitoring integration, read access is generally sufficient.
Understanding MCP Read and MCP Write
Datadog separates read and write permissions. This separation is important when an AI application can access production monitoring resources.
| Permission | Purpose |
| MCP Read | Allows access to tools that retrieve information |
| MCP Write | Allows access to tools that create or modify resources |
| MCP Write Access | Organization-level setting that enables write operations |
MCP Write Access is disabled by default. Even when an administrator enables it, individual users still need MCP Write permission and the normal Datadog permission required for the resource.
For example, a user who wants to create or modify a monitor needs the appropriate monitor write permission in addition to MCP Write.
A good starting point is to enable read-only access for developers and SRE teams. Write access can be introduced later for specific workflows after administrators have reviewed the required controls.
Creating a Datadog Data Store in Gemini Enterprise
Once Datadog is ready, create the data store in Google Cloud.
Follow these steps:
- Open the Google Cloud console.
- Navigate to the Gemini Enterprise page.
- Select the Google Cloud project you want to use.
- Open Data Stores from the navigation menu.
- Click Create data store.
- Search for Datadog in the available data sources.
- Select Datadog.
- In the Entities to search section, select Dashboards.
- Continue to the Actions section.
- Select any write actions required by your organization, if applicable.
- Configure the multi-region location and data connector name.
- Configure encryption settings when required for the selected region.
- Review the billing configuration.
- Click Create.
After creation, Gemini Enterprise displays the new data store on the Data Stores page.
Wait until its status changes from Creating to Active. The connector is then ready for the next configuration step.
One detail worth understanding is that selecting Dashboards under Entities to search does not mean the integration only supports dashboard searches. The Datadog connector documentation describes searching monitors, logs, metrics, traces, and incidents as well. Dashboards are the entity selected during the data store creation process.
Connecting the Data Store to a Gemini Enterprise App
Creating a data store does not automatically make it available in every Gemini Enterprise application.
You must connect it to the application where users will perform their searches.
Follow these steps:
- Open Gemini Enterprise in the Google Cloud console.
- Navigate to Apps.
- Select the application you want to configure.
- Open Connected data sources.
- Click Add existing data stores.
- Select the Datadog data store.
- Click Connect.
The Datadog data store is now associated with the selected Gemini Enterprise application.
Authorizing Datadog
Users must authorize Gemini Enterprise to access their Datadog organization.
Open the Gemini Enterprise web application and select Manage your data. Find the Datadog connection and select Authorize.
Complete the authorization process using the appropriate Datadog account.
For a connector with write actions enabled, users must also enable those actions and authorize the required access.
Authorization is important because the connector uses the user's Datadog access rather than automatically granting additional permissions. If a user cannot access a restricted dashboard or log dataset in Datadog, the Gemini Enterprise integration should not be treated as a way to bypass that restriction.
Searching Datadog Logs With Natural Language
After authorization, users can start asking questions about their monitoring data.
Consider a production application with several services:
- Authentication Service
- Payment Service
- Order Service
- Notification Service
Suppose users report that payments are failing intermittently. An engineer might normally open Datadog Logs Explorer, select the payment service, configure a time range, and search for errors.
With Gemini Enterprise, the engineer can begin with a natural-language question:
Find error logs from the payment service
during the last 30 minutes.
Gemini Enterprise sends the request through the Datadog data store and presents relevant results.
The engineer can then narrow the investigation:
Show only database connection errors
from the same service.
Another useful request might be:
Are there repeated timeout errors
in the payment service?
These questions make it easier to explore monitoring information without manually constructing every search filter.
Investigating recurring application errors
Suppose the payment service starts reporting HTTP 500 errors.
An engineer can ask:
Find the most recent application errors
from the payment service and group the
results by error type.
The returned information can help identify whether the failures are associated with database connections, external API requests, or application exceptions.
The engineer can then use the findings to decide which part of the application needs further investigation.
Natural-language searches are particularly useful when the engineer knows what problem they are looking for but does not immediately know the exact query syntax or filter combination.
Investigating Distributed Traces
Logs show what happened at a particular point in the application. Traces provide a broader view of how a request moves through multiple services.
In a microservices application, a single user request might pass through an API gateway, authentication service, payment service, and database. A delay in any one of these components can affect the complete request.
Distributed tracing helps engineers understand this execution path.
Consider the following request:
Mobile Application
|
v
API Gateway
|
v
Authentication Service
|
v
Payment Service
|
v
Database
If the payment request takes several seconds to complete, an engineer needs to identify which component contributes most to the delay.
A natural-language question could be:
Find traces from the payment service
with response times greater than
two seconds during the last hour.
The results can help the engineer identify slow requests and investigate their execution details in Datadog.
Following a slow request
A practical investigation can follow this sequence:
- Ask Gemini Enterprise to find slow traces for the affected service.
- Identify the requests with unusually high execution times.
- Review the related trace information in Datadog.
- Inspect the service operations and dependencies involved in the request.
- Compare the trace with application logs from the same period.
- Determine whether the delay originates in the application, database, or an external dependency.
For example, a trace might show that the API gateway responds quickly, but a database operation takes significantly longer than expected.
The engineer can then focus on database queries, connection pooling, or database resource utilization instead of spending time investigating unrelated services.
The natural-language interface helps locate the relevant information. Detailed trace analysis still benefits from Datadog's native trace visualization and investigation tools.
Combining Logs, Traces, and Metrics During an Incident
The biggest advantage of connecting multiple observability resources is that developers can investigate a problem from different angles.
Consider an application that experiences a sudden increase in response time.
The investigation might involve three questions:
Find services with increased latency
during the last hour.
Show recent error logs from the
services with the highest latency.
Find traces that contain slow
database operations.
These requests cover three different parts of an incident:
| Observability data | Question it helps answer |
| Metrics | When did performance start degrading? |
| Logs | What errors or warnings occurred? |
| Traces | Which operation contributed to the delay? |
Monitors and incidents provide additional operational context. For example, an engineer can ask whether Datadog has reported an active incident associated with the affected service.
This approach does not replace a proper incident response process. It helps engineers locate relevant evidence faster and reduces the need to switch repeatedly between monitoring views.
Working With Datadog Dashboards and Notebooks
The integration also supports dashboard and notebook operations.
Dashboards provide a visual summary of application health, while notebooks help teams document investigations and organize monitoring information.
Depending on the actions enabled by administrators, Gemini Enterprise can support requests such as:
Find the dashboard used to monitor
the payment service.
Create a notebook to document the
database latency investigation.
Update the existing service dashboard
with the required monitoring information.
Some actions only retrieve information, while others modify Datadog resources.
For this reason, administrators should review the available write actions before enabling them. A team that only needs to investigate production incidents may not need permission to create, update, or delete monitoring resources.
Security and Access Control Considerations
Connecting an AI platform to production monitoring data requires careful access management.
Logs and traces can contain sensitive information, including request parameters, user identifiers, internal service names, and operational details. An integration should not expose more information than the user is already permitted to access.
Datadog applies multiple layers of access control to MCP requests.
These include:
- Organization-level MCP Access settings.
- Organization-level MCP Write Access settings.
- MCP Read and MCP Write role permissions.
- OAuth application scopes.
- Standard Datadog role permissions.
- Restrictions on datasets, dashboards, and other resources.
The connector uses the permissions of the authorized user. Existing Datadog access restrictions continue to apply.
Start with read-only access
For most monitoring investigations, read-only access is enough.
A practical configuration is to enable MCP Access, assign MCP Read to the required users, and leave MCP Write Access disabled until there is a clear business requirement.
This allows engineers to search logs, inspect traces, review metrics, and investigate incidents without granting unnecessary modification permissions.
Protect monitoring data
Organizations should also review what information is stored in their logs and traces.
Avoid recording passwords, access tokens, payment credentials, and other sensitive values in application logs. Apply appropriate data access controls and log restriction queries to limit what users can retrieve.
Another important consideration is query handling. Gemini Enterprise sends search requests to the Datadog API through the federated connector. Google documents that a language model may rewrite a query to improve search accuracy. The rewritten request can include information from the conversation history.
Organizations should review this behavior when deciding which monitoring data sources to connect and what information users can include in their questions.
Audit integration activity
Datadog records MCP tool calls in Audit Trail. These records include information such as the tool name, arguments, user identity, and client.
Administrators can use these records to review how AI clients access Datadog resources and investigate unexpected operations.
This is particularly important when write actions are enabled.
Common Problems and Troubleshooting
The integration may fail if the Datadog organization, user permissions, or Gemini Enterprise configuration is incorrect.
| Problem | Possible reason | What to check |
| Datadog connection cannot be created | Unsupported Datadog site | Verify that the organization uses US1 |
| Authorization fails | Incorrect account or access configuration | Sign in with an authorized Datadog account |
| Searches return no results | User cannot access the requested data | Review Datadog permissions and data restrictions |
| Write actions are unavailable | MCP Write Access is disabled | Check organization settings |
| User cannot modify a dashboard | Missing MCP Write or dashboard permission | Review both permission layers |
| Data store is not available in the app | Data store has not been connected | Check Connected data sources |
| Connector cannot be used | Data store is not active or authorization is incomplete | Check connector status and user authorization |
Check MCP permissions first
If a user can access a dashboard in Datadog but cannot modify it through Gemini Enterprise, check the MCP permissions and OAuth scopes.
Enabling MCP Write Access alone is not sufficient. The user also needs MCP Write permission and the normal Datadog permission required for the resource.
Verify the connector status
If searches fail immediately after setup, check the data store status in the Google Cloud console.
The connector must reach Active status, be connected to the intended Gemini Enterprise application, and have the required user authorization.
Also verify that the Datadog organization is using the supported US1 site.
Best Practices for Production Teams
A successful integration depends on more than connecting two platforms. Teams should define how developers will use the integration and which permissions they actually need.
Consider these practices:
- Start with read-only access and enable write operations only when there is a clear requirement.
- Connect the data store to the correct Gemini Enterprise application instead of making monitoring information available more broadly than necessary.
- Keep application logs structured and include useful service names, timestamps, and request identifiers.
- Use distributed tracing consistently so that requests can be investigated across service boundaries.
- Avoid storing credentials and sensitive user information in logs.
- Review Datadog MCP permissions and OAuth scopes regularly.
- Audit MCP activity when users perform monitoring or dashboard operations.
- Verify that the connector uses the correct Datadog site and that user authorization remains valid.
- Use Datadog's native interface for detailed trace inspection and complex monitoring investigations.
- Treat AI-generated summaries as investigation assistance and verify important findings against the underlying logs, traces, and metrics.
Advantages and Limitations
The integration offers a more convenient way to search observability information, but it is important to understand what it does and does not replace.
| Advantages | Limitations |
| Natural-language searches across monitoring resources | Requires a supported Datadog organization site |
| Less dependence on manually constructing search queries | Search results remain subject to user permissions |
| Access to logs, traces, metrics, monitors, and incidents | Does not replace detailed investigation in Datadog |
| Supports dashboard and notebook operations | Write operations require additional permissions |
| Uses federated access to Datadog data | Search requests are sent to the Datadog API |
| Works within Gemini Enterprise applications | Requires connector setup and user authorization |
The integration is most useful when developers need to locate relevant monitoring information quickly. It should be considered an additional investigation interface rather than a replacement for Datadog's observability capabilities.
Conclusion
Searching Datadog logs and traces with Gemini Enterprise gives development and operations teams another way to investigate application problems. Instead of starting every investigation by manually configuring filters, developers can ask natural-language questions about errors, latency, traces, metrics, and incidents.
The integration became generally available in December 2026 and supports a dedicated Datadog data store using federated access. Setting it up requires enabling Datadog MCP access, creating the data store in Google Cloud, connecting it to a Gemini Enterprise application, and authorizing the connection.
For production teams, the most important consideration is access control. Starting with read-only permissions provides a practical way to introduce AI-assisted monitoring without immediately allowing changes to production dashboards or other Datadog resources.
When used alongside Datadog's existing monitoring and tracing tools, Gemini Enterprise can make observability investigations easier to start, explore, and communicate.
Join the conversation! Your thoughts help the community grow.