
Skill
datadog_observability
query Datadog telemetry and investigate behavior
Description
Expertise in Datadog's observability platform including logs, metrics, APM, monitors, incidents, dashboards, hosts, and services. Use for searching logs, querying metrics, investigating incidents, analyzing traces, inspecting monitors, and navigating Datadog data via the Datadog MCP server.
SKILL.md
Searching Logs
Use search_datadog_logs for individual log retrieval and analyze_datadog_logs
for SQL-based aggregation queries.
Common log search patterns:
# Errors from a specific service
service:payment-api status:error
# Logs from a host in the last hour
host:web-prod-01
# Logs containing a specific trace ID
trace_id:abc123def456
# Errors with a specific HTTP status
@http.status_code:500 service:api-gateway
# Logs from a Kubernetes pod
kube_namespace:production kube_deployment:checkout-service
SQL-based log analysis with analyze_datadog_logs:
-- Count errors by service in the last hour
SELECT service, count(*) as error_count
FROM logs
WHERE status = 'error'
GROUP BY service
ORDER BY error_count DESC
-- Average response time by endpoint
SELECT @http.url_details.path, avg(@duration) as avg_duration
FROM logs
WHERE service = 'api-gateway'
GROUP BY @http.url_details.path
Querying Metrics
Use search_datadog_metrics to discover metrics, get_datadog_metric_context
for metadata, and get_datadog_metric for time series data.
Common metric patterns:
# System metrics
system.cpu.user, system.mem.used, system.disk.used
# Container metrics
docker.cpu.usage, kubernetes.cpu.requests
# Application metrics
trace.servlet.request.hits, trace.servlet.request.duration
# Custom metrics
app.payment.processed, app.queue.depth
Always specify a time range when querying metrics to avoid retrieving excessive data.
Investigating Traces
Use get_datadog_trace for complete trace details and search_datadog_spans
for span-level queries.
Trace investigation workflow:
- Search for slow or errored spans with
search_datadog_spans - Get the full trace with
get_datadog_traceusing the trace ID - Identify the bottleneck service or operation
- Correlate with
search_datadog_logsusing the trace ID - Check related metrics with
get_datadog_metric
Working with Monitors
Use search_datadog_monitors to find monitors by name, tag, or status.
Common monitor queries:
# Find all triggered monitors
Search for monitors with status "Alert"
# Find monitors for a specific service
Search for monitors tagged with service:payment-api
# Find monitors by name
Search for monitors matching "CPU" or "memory"
Incident Investigation Workflow
For structured incident investigation:
search_datadog_incidents— find recent or active incidentsget_datadog_incident— get full incident details and timelinesearch_datadog_monitors— check which monitors triggeredsearch_datadog_logs— search for errors around the incident timeget_datadog_metric— check key metrics for anomaliesget_datadog_trace— inspect request traces for latency or errorssearch_datadog_hosts— verify infrastructure healthsearch_datadog_service_dependencies— map affected services
Working with Dashboards and Notebooks
- Use
search_datadog_dashboardsto find dashboards by title or tag - Use
search_datadog_notebooksandget_datadog_notebookfor investigation notebooks that document past analyses
Troubleshooting
| Issue | Solution |
|---|---|
| 401/403 errors | Verify API key and Application key are correct and active |
| No data returned | Check that Application key has MCP Read permission |
| Wrong region | Ensure the connector URL matches your Datadog organization's region |
| Truncated traces | Large traces may be truncated; this is a known limitation |
| Tool not found | The tool may require a non-default toolset; update the connector URL |
| Write operations fail | Verify Application key has MCP Write permission |
More skills from the sre-agent-plugins repository
View all 7 skillsatlassian_rovo
manage Atlassian Jira and Confluence tasks
Jul 12AtlassianConfluenceJiraProject Managementaws_cloud_operations
manage and troubleshoot AWS cloud operations
Jul 12AWSDebuggingInfrastructureMonitoring +1azure_managed_grafana
monitor Azure infrastructure with Grafana
Jul 12Application InsightsAzureDashboardsMonitoring +1dynatrace_observability
query Dynatrace observability data
Jul 12AzureLogsMetricsMonitoring +1elasticsearch
query and analyze Elasticsearch data
Jul 12AnalyticsAzureLogsObservabilitypager_duty
manage incidents with PagerDuty
Jul 12AlertingIncident ResponseMonitoringSRE
More from Azure (Microsoft)
View publisherazure-arg-external-evaluation-policy-author
author and test Azure Resource Graph policies
azure-policy
Jul 12AzureComplianceGovernancePolicyazure-blueprints-migration
migrate Azure Blueprints to Template Specs
azure-blueprints
Jul 12AzureDeploymentInfrastructure as CodeMigrationapiview-feedback-resolution
resolve APIView feedback on Azure SDKs
azure-sdk-tools
Jul 12API DevelopmentAzureCode ReviewDocumentationazsdk-common-live-and-recorded-tests
deploy resources and run Azure SDK tests
azure-sdk-tools
Jul 12AzureDeploymentSDKTestingazsdk-common-prepare-release-plan
manage Azure SDK release plan work items
azure-sdk-tools
Jul 12AzureGitHubProject ManagementSDKazsdk-common-sdk-release
release Azure SDK packages
azure-sdk-tools
Jul 12AzureCI/CDDeploymentSDK