Datadog
Connect to Datadog to manage monitoring, logs, metrics, APM traces, RUM events, and more.
Key Features
- Dashboard viewing and management
- Log search and analysis
- Metric queries and time series data retrieval
- Monitoring configuration management
- Host management and alert control
- Incident management
- APM trace analysis
- RUM event monitoring
- Downtime scheduling
Basic Information
Authentication Method
Uses API Key and Application Key for authentication.
Input Parameters
- Datadog API Key (Required): Key for Datadog API authentication
- Datadog Application Key (Required): Application key for read operations
- Datadog Site (Optional): Datadog site (e.g., datadoghq.com, datadoghq.eu)
Supported MCP Tools
Dashboard Management Tools
get_dashboards
Retrieves a list of all available dashboards in Datadog.
get_dashboard
Gets a specific dashboard by ID.
Log Management Tools
get_logs
Searches and retrieves logs from Datadog.
get_all_services
Gets all services from Datadog logs.
Metric Management Tools
query_metrics
Queries metric data from Datadog.
query_timeseries_data
Queries time series data from Datadog.
Monitoring Tools
get_monitors
Gets all monitors from Datadog.
Host Management Tools
list_hosts
Gets all hosts reporting to Datadog.
get_active_hosts_count
Gets the total number of active hosts.
mute_host
Mutes a host to suppress alerts.
unmute_host
Unmutes a previously muted host.
Incident Management Tools
list_incidents
Lists all incidents from Datadog.
get_incident
Gets a specific incident by ID.
APM Trace Tools
list_traces
Lists traces from Datadog APM.
get_trace_details
Gets detailed information about a specific trace.
RUM Monitoring Tools
get_rum_events
Gets RUM (Real User Monitoring) events from Datadog.
get_rum_page_performance
Gets RUM page performance metrics.
get_rum_page_waterfall
Gets RUM page waterfall data.
Downtime Management Tools
list_downtimes
Lists all scheduled downtimes.
schedule_downtime
Schedules a new downtime.
cancel_downtime
Cancels an existing downtime.
Usage Examples
For example,
- When you input “Retrieve error logs from the last hour” as a prompt,
- The LLM calls the
get_logstool through MCP to search for logs. - Then, it responds in the chat based on the tool call results.
API Key and Application Key Generation Method
- Log in to your Datadog account.
- Go to Organization Settings > API Keys to create a new API key.
- In the Application Keys section, create a new application key.
- Set the necessary permissions.
Precautions
- Keep your generated API Key and Application Key secure.
- It is recommended to grant only the minimum necessary permissions.
- Set appropriate time ranges for log queries to optimize performance.
- Use pagination when retrieving large amounts of data.
- Use appropriate filters when retrieving RUM events to get only relevant data.