dt-alerting

Configure Dynatrace anomaly detectors, query Davis alert events, and route problem notifications via workflows.

Updated Dec 12, 2025
One-click install
npx skills add https://github.com/ricardojjulia/ESACompanion --skill dt-alerting-ricardojjulia
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dt-alerting
Source: https://github.com/ricardojjulia/ESACompanion/tree/main/.github/skills/dt-alerting
Command: npx skills add https://github.com/ricardojjulia/ESACompanion --skill dt-alerting-ricardojjulia

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Setting up effective alerting in Dynatrace requires choosing the right detector category and model, understanding how Davis events flow into problems, and wiring notifications without creating alert storms. This Skill guides the full alerting lifecycle so alerts are correctly configured, grouped, and routed. ## Core Features & Use Cases - Detector setup and model selection: Choose between DQL-based, Edge, Pipeline, Synthetic, and External alert sources, and between static threshold, adaptive baseline, and seasonal baseline models, with ready-to-use Settings v2 JSON examples. - Alert history and over-alerting analysis: Query dt.davis.events in Grail with DQL patterns to audit which detectors fire most, trace alerts back to their settings objects, and reduce noise. - Problem-triggered notifications: Build workflow-based routing to Slack, email, ServiceNow, or webhooks using dt.alert_group and severity filters for scalable multi-team routing. - Use Case: A user asks to alert on high latency across three services and notify their team on Slack. The Skill recommends one combined DQL-based detector with an adaptive baseline, a shared dt.alert_group tag, and a single workflow filtered on that group. ## Quick Start Ask the assistant to create an anomaly detector for a specific metric and set up a Slack notification when the resulting problem opens.

Frequently Asked Questions about dt-alerting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an anomaly detector in Dynatrace?▼

Create a detector via the builtin:davis.anomaly-detectors Settings v2 schema using an analyzer-based JSON structure. Choose an analyzer class for static threshold, adaptive baseline, or seasonal baseline, supply a DQL timeseries query, and define the event template properties.

Static vs adaptive vs seasonal baseline: which detector model should I use?▼

Use static thresholds for hard SLO limits like error rate above 5%, adaptive baseline for metrics with clear normal behavior but no fixed limit, and seasonal baseline for metrics with time-of-day or day-of-week patterns such as traffic volume.

How do I query Davis alert event history in Grail?▼

Query the dt.davis.events table with DQL, for example fetch dt.davis.events filtered by event.status and summarized by event.name or event.category. Each record represents one detector trigger per entity, distinct from grouped problems in dt.davis.problems.

How do I send Slack or ServiceNow notifications when a problem opens?▼

Create a workflow with a problem trigger, add a condition filter such as matchesPhrase(dt.alert_group, "team-name"), and connect a Slack, email, ServiceNow, or HTTP request action. Trigger on problems rather than raw events to avoid duplicate notifications.

Why am I getting too many alerts and how do I reduce alert fatigue?▼

High alert volume usually comes from overly broad entity selectors, tight thresholds, or per-entity detectors. Consolidate entities into one detector using by: dimensions, start with LOW sensitivity, and filter notifications by severity and dt.alert_group.

Does this skill cover analyzing existing problems and root cause?▼

No, this skill covers alert configuration and flow only. For querying active problems, root cause analysis, and problem merge logic, the related dt-obs-problems skill and its problem-merging reference should be used instead.