dt-alerting
End-to-end Dynatrace alerting lifecycle — anomaly detector setup and model selection (static threshold, adaptive baseline,…
DAVIS problem analysis including root cause identification, impact assessment, and correlation with other telemetry. Use when querying or investigating detected problems. Trigger: "active problems", "root cause analysis", "problem impact", "affected users", "list problems",
$ npx -y skills add Dynatrace/dynatrace-for-ai --skill dt-obs-problems --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/dt-obs-problemsContext preview
The summary Claude sees to decide when to auto-load this skill.
DAVIS problem analysis including root cause identification, impact assessment, and correlation with other telemetry. Use when querying or investigating detected problems. Trigger: "active problems", "root cause analysis", "problem impact", "affected users", "list problems",
name: dt-obs-problems description: >- DAVIS problem analysis including root cause identification, impact assessment, and correlation with other telemetry. Use when querying or investigating detected problems. Trigger: "active problems", "root cause analysis", "problem impact", "affected users", "list problems", "P-12345 details", "recurring problems", "problem history", "problem trending", "blast radius", "which entity caused the problem", "problems affecting Kubernetes", "problems by service". Do NOT use for explaining existing queries, product documentation questions, generic log searching, distributed tracing, or host-level resource monitoring. license: Apache-2.0
Analyze Dynatrace AI-detected problems including root cause identification, impact assessment, and correlation with logs and metrics.
---
---
Dynatrace automatically detects anomalies, performance degradations, and failures across your environment, creating **problems** that aggregate related alert, warning and info-level events and provide root cause and impact insights.
Problems are automatically detected, software and infrastructure health and resilience issues that:
The `event.kind` field (stable, permission) identifies the high-level event type:
| `event.kind` value | Description | |---|---| | `DAVIS_EVENT` | Davis-detected infrastructure/application events | | `BIZ_EVENT` | Business events (ingested via API or captured from spans) | | `RUM_EVENT` | Real User Monitoring events | | `AUDIT_EVENT` | Administrative/security audit events |
`event.provider` (stable, permission) identifies the event source.
Common `event.category` values:
| Category | Description | Example | |----------|-------------|---------| | **AVAILABILITY** | Infrastructure or service unavailable | Web service returns no data, synthetic test actively fails, database connection lost | | **ERROR** | Increased error rates beyond baseline | API error rate jumped from 0.1% to 15% | | **SLOWDOWN** | Performance degradation | Response time increased from 200ms to 5000ms | | **RESOURCE** | Resource saturation | Container memory at 95%, causing OOM kills | | **CUSTOM** | Custom anomaly detections | Business KPI (orders/minute) dropped below threshold |
Detection → ACTIVE → Under Investigation → CLOSED
| ❌ WRONG | ✅ CORRECT | Description | |---------|-----------|-------------| | `title` | `event.name` | Problem title/description | | `status` | `event.status` | Problem lifecycle status | | `severity` | `event.category` | Problem type/category | | `start` | `event.start` | Problem start time |
// ✅ CORRECT: Use these status values fetch dt.davis.problems | filter event.status == "ACTIVE" // Currently occurring problems // or event.status == "CLOSED" // Resolved problems // ❌ INCORRECT: event.status == "OPEN" does not exist! | limit 1
fetch dt.davis.problems, from:now() - 1h
| filter not(dt.davis.is_duplicate)
| fields
event.start, // Problem start timestamp
event.end, // Problem end timestamp (if closed)
display_id, // Human-readable problem ID (P-XXXXX)
event.name, // Problem title
event.description, // Detailed description
event.category, // Problem type
event.status, // ACTIVE or CLOSED
dt.smartscape_source.id, // The smartscape ID for the affected resource
dt.davis.affected_users_count, // Number of affected users
affected_entity_ids = smartscape.affected_entities[][id], // Array of affected entity IDs
dt.smartscape.service, // Affected services (may be array)
dt.davis.root_cause_entity, // Entity identified as root cause
root_cause_entity_id, // Root cause entity ID
root_cause_entity_name, // Human-readable root cause name
dt.davis.is_duplicate, // Whether duplicate detection
dt.davis.is_rootcause // Root cause vs. symptom
| limit 10Always start problem queries with this foundation:
fetch dt.davis.problems, from:now() - 2h | filter not(dt.davis.is_dupli
Everything AI agents need to work with Dynatrace, starting with skills. Skills are portable knowledge packages following the Agent Skills open format. They give AI coding agents the domain-specific context to query, analyze, and interpret Dynatrace data.
End-to-end Dynatrace alerting lifecycle — anomaly detector setup and model selection (static threshold, adaptive baseline,…
Work with Dynatrace dashboards - create, modify, query, and analyze dashboard JSON including tiles, layouts, DQL queries,…
Work with Dynatrace notebooks - create, modify, query, and analyze notebook JSON including sections, DQL queries, and…
Core DQL syntax, pitfalls, query patterns, and query optimization. Load to write, build, fix, or OPTIMIZE a DQL query — prevents…
Dynatrace server-side JS runtime — function contract, runtime limits, Web APIs, Node.js modules, fetch with credential vault, and…
Migrate Dynatrace classic and Gen2 entity-based DQL to Smartscape equivalents. Covers three scenarios. (1) mass data queries…