Documentation Index
Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
Datadog is available on the Cloud plan only.
Overview
OneCLI connects AI agents to Datadog using an API key and application key. Agents can query metrics, list monitors, check incident status, and view dashboard data. The gateway injects both keys into requests to the Datadog API automatically. This is useful for on-call agents that need to investigate incidents, coding agents that check deployment metrics, or reporting agents that pull monitoring data.Setup
Create API and application keys in Datadog
In the Datadog console, go to Organization Settings > API Keys and create a new API key. Then go to Application Keys and create a new application key. Copy both values.
What agents can do
- Query time-series metrics with custom queries and time ranges
- List monitors and their current statuses (OK, Alert, Warn, No Data)
- Get details for a specific monitor, including recent state changes
- List active incidents and their severity, timeline, and postmortem status
- Query dashboard widget data
- Search and read log entries
- List hosts and their tags
- Query infrastructure metrics (CPU, memory, disk, network)
- Check SLO (Service Level Objective) status and error budgets
- Read and create events