Skip to main content

Datadog

Connect your Datadog account to give RunLLM's SRE agent real-time access to your observability data. During incident investigations, the agent can search logs, query timeseries metrics, and explore metric metadata — all directly from your Datadog environment — without you having to copy-paste data manually.

The agent can:

  • Search and filter logs using Datadog query syntax
  • Estimate log volumes before fetching full results
  • Aggregate logs by facets (service, host, status, etc.)
  • Query timeseries metrics and explore metric tags
  • Inspect log indexes and processing pipelines to scope queries accurately
ParameterDescription
Base URLYour Datadog API base URL. Must match your site region — using the wrong region will result in authentication errors. See the tip below for the correct URL.
API KeyA Datadog API key with read access. Create one under Organization Settings > API Keys in your Datadog dashboard.
Application KeyA Datadog application key with read access. Create one under Organization Settings > Application Keys. Inherits the permissions of the user who created it — use a service account with read-only access when possible.

Optional parameters

  • Rules / Instructions: Free-form instructions that guide the agent on how to use this integration (e.g., "Only query the production log index" or "Focus on the payments-service when diagnosing errors").
Find your Base URL

Your Base URL depends on which Datadog site your organization uses. To check: log into Datadog, look at your browser's URL bar, and match it to the table below.

Datadog SiteBase URL
US1 (default)https://api.datadoghq.com
US3https://api.us3.datadoghq.com
US5https://api.us5.datadoghq.com
EU1https://api.datadoghq.eu
AP1https://api.ap1.datadoghq.com
US1-FEDhttps://api.ddog-gov.com

When in doubt, open your Datadog dashboard and check Organization Settings > API Keys — the page URL will show your site (e.g., app.us5.datadoghq.com).

Use a read-only service account

The Application Key inherits the permissions of the user who created it. For security, we recommend creating a dedicated Datadog service account with read-only permissions and generating the Application Key from that account. This limits the agent's access to only what it needs for log and metric queries.