datadog
БесплатноЗапускает вложенные скриптыНе проверенQuery Datadog observability data including logs, metrics, monitors, dashboards, hosts, APM spans, and incidents via direct API. Use when investigating…
от greedychipmunk★ 24 звезды на GitHubОб этом скилле
Datadog Skill
Query Datadog observability data via the API. Read-only access to logs, metrics, monitors, dashboards, hosts, APM, and incidents.
When to Use
- Investigating production issues or outages
- Checking monitor status and alert history
- Searching logs for errors or patterns
- Reviewing APM traces and service maps
- Pulling metric data for dashboards
- Checking host infrastructure status
Prerequisites
# Required environment variables
export DD_API_KEY="your-api-key"
export DD_APP_KEY="your-application-key"
export DD_SITE="datadoghq.com" # or datadoghq.eu, us3.datadoghq.com, etc.
Usage
The bundled script provides a CLI interface to Datadog API endpoints:
# Search logs
npx tsx scripts/datadog.ts logs search --query "service:api error" --from 1h
# Get metrics
npx tsx scripts/datadog.ts metrics query --metric "system.cpu.user" --from 1h
# List monitors
npx tsx scripts/datadog.ts monitors list
# Get dashboard
npx tsx scripts/datadog.ts dashboards get --id abc-123
# List hosts
npx tsx scripts/datadog.ts hosts list
# APM traces
npx tsx scripts/datadog.ts traces list --service api --from 1h
Common Patterns
Incident Investigation
# 1. Check for firing monitors
npx tsx scripts/datadog.ts monitors list --status alert
# 2. Search error logs
npx tsx scripts/datadog.ts logs search --query "status:error" --from 30m
# 3. Check APM for slow traces
npx tsx scripts/datadog.ts traces list --service api --from 30m
Log Search Syntax
# By service
service:api-service
# By status
status:error OR status:warn
# By time range
@timestamp:[now-1h TO now]
# Combined
service:api-service status:error "timeout"
Metric Queries
# Simple metric
avg:system.cpu.user{host:my-host}
# By tag
avg:system.cpu.user{env:production}
# Rate
diff(avg:system.cpu.user{host:my-host})
Notes
- All operations are read-only — no write or modify operations
- API and application keys need appropriate scopes
- Respect rate limits on high-volume queries
- Use
--fromto limit time ranges (default: 1h)
Установить datadog в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл datadog?
Query Datadog observability data including logs, metrics, monitors, dashboards, hosts, APM spans, and incidents via direct API. Use when investigating production issues, checking monitors, searching logs, alerting, or accessing Datadog data.
Как установить скилл datadog?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл datadog запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic