What agents do with Datadog
- How Do I Find Which Store Pages Got Slower or Broke for Shoppers This Week? An Online Store's Weekly Report From Datadog RUMAn online furniture store runs an agent every Monday that reads its Datadog RUM data and reports which product and checkout pages got slower or threw errors.Every Monday morningRun it
- Which Hotel Suppliers Failed Our Searches and Bookings Yesterday? A Travel Booking Site's Morning Report From Datadog LogsA hotel booking website runs an agent each morning that counts yesterday's failed supplier calls in Datadog logs, by supplier and error, and drafts a note to each.Every morning before the partnerships callRun it
- Find Noisy Datadog MonitorsYes. An agent reads 30 days of Datadog monitor history and ranks the ones that page you and then recover on their own.Every Monday morningRun it
- Build an SLO Report From DatadogYes. An agent reads your Datadog SLOs and returns slo.md with each target, the value achieved, the error budget left, the burn rate and what spent it.Every first day of the monthRun it
- Which Customers Hit the Most Errors This Week? A SaaS Customer-Success Team's Weekly Report From Datadog LogsA SaaS company's customer-success team gets a weekly list, per account manager, of the customers whose API requests failed most, read from Datadog logs.Every Friday afternoonRun it
- Write a Weekly Incident Summary From DatadogYes. Each week an agent reads Datadog incidents and triggered monitors and writes incidents.md with durations, services, repeat offenders and trends.Every Friday afternoonRun it
- Fix an ASP.NET Core App Bug From a Datadog Monitor AlertYes. When a Datadog monitor fires, an agent reads its logs and traces, finds the failing ASP.NET Core code, fixes it with an xUnit test and opens a PR.Every Datadog monitor alertRun it
- Fix a Django App Bug From a Datadog Monitor AlertYes. A Datadog monitor starts a run, the agent reads the logs and traces behind it, fixes the Django code with a TestCase and opens a pull request quoting the logs.Every Datadog monitor alertRun it
- Fix an Express API Bug From a Datadog Monitor AlertYes. A Datadog monitor starts a run; the agent reads the error logs and traces, fixes the Express route with a Jest test and opens a pull request that quotes them.Every Datadog monitor alertRun it
- Fix a FastAPI App Bug From a Datadog Monitor AlertYes. An agent reads the Datadog monitor, logs and traces behind an alert, finds the FastAPI route at fault, fixes it with a pytest test and opens a PR.Every Datadog error-rate alertRun it
- Fix a Go Service Bug From a Datadog Monitor AlertYes. A Datadog monitor starts a run; the agent follows its logs and traces into your Go code, adds a regression test, runs go test and opens a pull request.Every Datadog monitor alertRun it
- Fix a Laravel App Bug From a Datadog Monitor AlertYes. A Datadog monitor starts a run; the agent reads its logs and traces, fixes the Laravel code with a PHPUnit test, runs php artisan test and opens a pull request.Every Datadog monitor alertRun it
- Fix a NestJS API Bug From a Datadog Monitor AlertYes. A Datadog monitor starts a run; the agent reads the logs and traces, fixes the NestJS module with a Jest test and opens a pull request quoting them.Every Datadog monitor alertRun it
- Fix a Phoenix App Bug From a Datadog Monitor AlertYes. An agent reads the logs and traces behind a Datadog alert, finds the failing Phoenix controller, fixes it with an ExUnit test and opens a PR.Every Datadog monitor alertRun it
- Fix a Rails App Bug From a Datadog Monitor AlertYes. A Datadog monitor starts a run; the agent traces failing background jobs to your Rails code, adds a Minitest test, runs bin/rails test and opens a pull request.Every Datadog monitor alertRun it
- Fix a Spring Boot App Bug From a Datadog Monitor AlertYes. A Datadog monitor starts a run; the agent reads its logs and traces, fixes the Spring Boot controller with a JUnit test and opens a pull request.Every Datadog monitor alertRun it
- Investigate an ASP.NET Core App Incident With DatadogYes. An agent reads the error window in Datadog, matches it to recent commits in your ASP.NET Core identity and vault code, and writes a sourced incident.md.Every Datadog monitor alertRun it
- Investigate a Django App Incident With DatadogYes. An agent reads the incident window in Datadog, lines it up with recent commits to your Django apps and writes incident.md with a timeline and cited evidence.Every Datadog monitor alertRun it
- Investigate a Go Service Incident With DatadogYes. An agent reads the incident window in Datadog, lines it up with recent commits to your Go handlers and writes incident.md with cited evidence.Every Datadog monitor alertRun it
- Investigate a NestJS API Incident With DatadogYes. An agent reads the error spike in Datadog, traces it to recent commits in your NestJS auth and users modules, and writes a sourced incident.md.Every error-rate monitor firingRun it
- Investigate a Rails App Incident With DatadogYes. An agent reads the incident window in Datadog, matches it against your Rails request logs, jobs and recent commits, and writes incident.md with cited evidence.Every Datadog monitor alertRun it
- Investigate a Spring Boot App Incident With DatadogYes. An agent reads the incident in Datadog across your Spring Boot services, matches it to recent commits and writes incident.md with evidence.Every monitor alert on any serviceRun it
- Investigate Thread Pool Starvation in an ASP.NET Core AppYes. An agent reads your ASP.NET Core code, configuration and recent commits and returns an incident report ranking each suspect with the check that confirms it.Every thread-pool alertRun it
- Investigate a failed deployA deploy reported a failure. Read its logs and metrics, find the change that broke it, and post to Slack what to roll back and why.Posts to SlackAutomate this
How it works
- Connect Datadog once
Sign in under Settings → Connections. Rush keeps the sign-in; no script or laptop holds a token.
- Hand an agent the work
From the console, on a schedule, or with one API call that names
datadog. - Get the result back
Files, an answer or a PR, with a record of every step the agent took.
For developers: how Datadog connects
Datadog is a remote MCP server, published by Datadog, at https://mcp.datadoghq.com/api/unstable/mcp-server/mcp. Connecting it signs in through the MCP OAuth flow on Datadog's side.
From Datadog: Datadog's MCP documentation.
Connect it once in the console under Settings → Connections, or from your server with POST /me/connections. The sign-in finishes in a browser signed in to the console as the same person, and a link not finished within 10 minutes expires.
After that, a run that names datadog in connections, or runs a saved agent that names it, gets it; your connections reach no run that does not name them.
POST https://api.phoenix.so/me/connections
{
"type": "mcp",
"name": "Datadog",
"url": "https://mcp.datadoghq.com/api/unstable/mcp-server/mcp"
}Whose Datadog account the agent uses
Your Datadog connection is personal: it belongs to the person who signed in. A run started in the console uses that person's Datadog, and a run started with an API key uses the Datadog of the member who created the key.
To act for your own app's users, make each user an agent from your template and show them, signed in to your app, the sign-in link POST /o/{org}/agents/{agent}/connections returns. They sign in to their own Datadog, and that agent's runs use their account and nothing else: never yours, never another user's.
More Observability integrations
Frequently asked questions
How do I connect Datadog to Rush?
Open Settings → Connections in the console and connect Datadog, or send POST /me/connections with {"type":"mcp","name":"Datadog","url":"https://mcp.datadoghq.com/api/unstable/mcp-server/mcp"} and open the authorize_url it returns while signed in to the console. The connection reads pending until the sign-in finishes, then connected.
Does every run get my Datadog account?
No. A run gets your Datadog connection only when it names it in connections ("connections": ["datadog"]), or runs a saved agent that names it. A saved agent names its connections once, and every run of it gets them.
What can an agent do in Datadog?
Investigate production with Datadog: search logs, metrics, traces, monitors, incidents and dashboards. US1 site; add another site as a custom server. 23 published jobs use it; this page lists them.
Can my app's users connect their own Datadog?
Yes. Make each user an agent from your template, and they sign in to their own Datadog through the link POST /o/{org}/agents/{agent}/connections returns. That agent's runs use their account alone.
Keep reading
- AI agents for engineering teams: every job and app for them
- How connections work: sign in once, then every run that names a connection gets it
- Start your first run from the developer API quickstart
- Pricing: one price per member, hours shared by the team
- How Rush compares with other cloud agents
- Every app and MCP server Rush connects to