원클릭으로
datadog
Analyze metrics, logs, or other data in Datadog. Use this skill when investigating issues or handling incidents
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Analyze metrics, logs, or other data in Datadog. Use this skill when investigating issues or handling incidents
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | datadog |
| description | Analyze metrics, logs, or other data in Datadog. Use this skill when investigating issues or handling incidents |
Use pup to retrieve data from Datadog.
Requires either:
pup auth loginDD_API_KEY and DD_APP_KEY environment variables-o, --output: Output format (json, table, yaml) - default: json-y, --yes: Skip confirmation prompts (auto-approve operations)Purpose: Track services, operations, and dependencies for performance insights
pup apm services # List and query APM services with performance data
pup apm entities # Query APM entities (services, datastores, queues, etc.)
# Query entities with filtering
pup apm entities list --start $(date -d '1 hour ago' +%s) --end $(date +%s) --env prod
Purpose: Search and analyze log data with flexible queries and time ranges
status:error # Match by status
service:web-app # Match by service
@user.id:12345 # Match by attribute
host:i-* # Wildcard matching
"exact phrase" # Exact phrase matching
AND, OR, NOT # Boolean operators
pup logs search # Search logs (v1 API)
pup logs query # Query logs (v2 API)
pup logs list # List logs (v2 API)
pup logs aggregate # Aggregate logs (v2 API)
pup logs archives # Manage log archives
pup logs custom-destinations # Manage custom log destinations
pup logs metrics # Manage log-based metrics
pup logs restriction-queries # Manage log restriction queries
# Search for error logs in the last hour
pup logs search --query="status:error" --from="1h"
# Search Flex logs specifically
pup logs search --query="status:error" --from="1h" --storage="flex"
# Query logs from a specific service
pup logs query --query="service:web-app" --from="4h" --to="now"
# Query online archives
pup logs query --query="service:web-app" --from="30d" --storage="online-archives"
# Aggregate logs by status
pup logs aggregate --query="*" --compute="count" --group-by="status"
# List log archives
pup logs archives list
# List log-based metrics
pup logs metrics list
Purpose: Query time-series metrics, list available metrics, and manage metric metadata
pup metrics query # Query time-series metrics data (v2 API)
pup metrics search # Search metrics (v1 API)
pup metrics list # List all available metrics
pup metrics metadata # Manage metric metadata
pup metrics tags # Manage metric tags
# Query metrics
pup metrics query --query="avg:system.cpu.user{*}" --from="1h" --to="now"
pup metrics query --query="sum:app.requests{env:prod} by {service}" --from="4h"
# List metrics
pup metrics list
pup metrics list --filter="system.*"
# Get metric metadata
pup metrics metadata get system.cpu.user
# Update metric metadata
pup metrics metadata update system.cpu.user \
--description="CPU user time" \
--unit="percent" \
--type="gauge"
# Submit custom metrics
pup metrics submit --name="custom.metric" --value=123 --tags="env:prod,team:backend"
# List metric tags
pup metrics tags list system.cpu.user --from="1h"
Purpose: Manage Datadog monitors for alerting and notifications
pup monitors list # List monitors (limited results)
pup monitors search # Search monitors
pup monitors get # Get monitor details
pup monitors delete # Delete a monitor
# List all monitors
pup monitors list
# Filter monitors by name
pup monitors list --name="CPU"
# Filter monitors by tags
pup monitors list --tags="env:production,team:backend"
# Get detailed information about a specific monitor
pup monitors get 12345678
Purpose: Query and search Datadog events representing important occurrences in infrastructure
Events represent important occurrences in your infrastructure such as:
--query: Search query string (supports text search and filters)--filter: Additional filter query for refined results--from: Start time (Unix timestamp in seconds)--to: End time (Unix timestamp in seconds, defaults to now)--limit: Maximum number of results (default: 100)pup events list # List recent events
pup events search # Search events with queries and filters
pup events get # Get event details by ID
# Search for deployment events in the last hour
pup events search --query="tags:deployment" --from=$(date -d '1 hour ago' +%s) --to=$(date +%s)
# Search for events from a specific service in the last 24 hours
pup events search --query="service:web-app" --from=$(date -d '1 day ago' +%s)
# Search for high-priority events with limit
pup events search --query="priority:high" --limit=50 --from=$(date -d '24 hours ago' +%s)
# Search events within a specific time window (between 2 hours ago and 1 hour ago)
pup events search --query="source:kubernetes" --from=$(date -d '2 hours ago' +%s) --to=$(date -d '1 hour ago' +%s)
# Query deployment events for a specific namespace
pup events search --query="source:change_tracking kube_namespace:prod-navis @change_types:image" --from=$(date -d '2 hours ago' +%s)
# Query Monitor alerts
pup events search --query="source:alert status: error kube_namespace:prod-navis" --from=$(date -d '2 hours ago' +%s)
# Get details of a specific event
pup events get 1234567890
# Search for error-related events with additional filter
pup events search --query="error OR exception" --filter="env:production" --from=$(date -d '1 day ago' +%s)
Review code changes on the current branch or a given PR/branch. Use when the user asks for a code review, wants feedback on a diff, or wants to check changes for security, quality, or bugs.
Create a PR
Collaborative thinking partner that explores complex problems through questioning rather than jumping to solutions. Use when the user wants to think through a topic, brainstorm, or have a discussion.
Debug and fix CI failures from a PR link. Fetches failing job/step logs from GitHub Actions or CircleCI, identifies the root cause, then proposes and applies a fix. Use when the user provides a PR URL and wants to investigate and fix CI failures.
Summarizes things into Obsidian Vault. Use when user mentions "document" or "obsidian".