Overview
The Datadog integration enables you to automate monitoring and observability workflows within your organization. Connect Serval to Datadog to streamline incident response, automate metric collection, and manage your monitoring infrastructure programmatically.Key Features
- Access metrics and monitoring data
- Query and analyze logs
- Manage dashboards and monitors
- Automate incident response workflows
Common Use Cases
- Automated incident investigation
- Metric-based workflow triggers
- Log analysis and correlation
- Dashboard creation and updates
Prerequisites
Before setting up the Datadog integration, ensure you have:1
Datadog Account
An active Datadog account with appropriate permissions
2
API Key
A valid Datadog API key with the necessary scopes
3
Application Key
A Datadog application key for advanced API operations
Setup Instructions
Step 1: Generate Datadog API Credentials
- API Key
- Application Key
- Log in to your Datadog account
- Navigate to Organization Settings → API Keys
- Click New Key
- Provide a descriptive name (e.g., “Serval Integration”)
- Copy the generated API key
Step 2: Configure Integration in Serval
- Navigate to the Integrations page in Serval
- Find Datadog and click Configure
- Enter your configuration details:
Your Datadog API domain (without
https://). Look at your Datadog dashboard URL to determine your region. For example:api.datadoghq.comapi.us3.datadoghq.com
Your Datadog API key from Step 1. This authenticates all API requests.
Your Datadog application key from Step 1. Required for accessing metrics, logs, and other data.
- Click Submit to establish the integration
Integration configured! Serval will verify your credentials and establish the connection.
API Permissions
The Datadog integration requires specific permissions based on your use cases:Metrics API
Metrics API
Required for: Reading metric data, querying time series
metrics_read- Query and retrieve metric datatimeseries_query- Query timeseries data.
Logs API
Logs API
Required for: Searching and analyzing log data
logs_read_data- Read log contentlogs_read_index_data- Access log indexeslogs_read_archives- Read archived logs
Monitors API
Monitors API
Required for: Creating and managing alerts
monitors_read- View existing monitorsmonitors_write- Create and modify monitorsmonitors_downtime- Manage downtime schedules
Dashboards API
Dashboards API
Required for: Creating and updating dashboards
dashboards_read- View dashboard configurationsdashboards_write- Create and modify dashboardsdashboards_public_share- Share dashboards publicly
Best Practices
Query Optimization: When querying metrics, use appropriate time ranges and aggregations to minimize data transfer and improve performance.
Additional Resources
Datadog API Documentation
Complete API reference for all Datadog endpoints
Permissions and Scopes
Comprehensive list of Datadog RBAC permissions and API scopes
Need help? Contact [email protected] for assistance with your Datadog integration.

