Overview
Datadog integration enables IncidentFox to:- Query metrics and dashboards
- Search logs
- Access APM traces and service maps
- Retrieve monitor/alert status
Prerequisites
- Datadog account
- API Key and Application Key
- Read permissions for metrics, logs, and APM
Configuration
Step 1: Generate API Keys
- Log in to Datadog
- Go to Organization Settings > API Keys
- Click New Key to generate an API Key
- Go to Application Keys tab
- Click New Key to generate an Application Key
The Application Key is tied to a user and determines permissions. Use a service account.
Step 2: Add to IncidentFox
Via Web UI:- Go to Team Console > Integrations
- Click Add Integration > Datadog
- Enter:
- API Key
- Application Key
- Site (e.g., datadoghq.com)
- Click Test Connection
- Save
Datadog Sites
| Region | Site |
|---|---|
| US1 | datadoghq.com |
| US3 | us3.datadoghq.com |
| US5 | us5.datadoghq.com |
| EU | datadoghq.eu |
| AP1 | ap1.datadoghq.com |
Available Tools
query_datadog_metrics
Query metrics from Datadog.
query- Datadog metrics queryfrom_time- Start time (Unix timestamp or relative)to_time- End time
search_datadog_logs
Search logs in Datadog.
query- Log search queryindexes- Log indexes to searchtime_range- Time range
get_service_apm_metrics
Get APM metrics for a service.
service- Service nameenv- Environment (optional)time_range- Time range

