Predictive Analytics Skill
Forecast resource saturation, detect trends, analyze anomalies, and characterize signal behavior using DQL and Dynatrace analyzer tools.
Analysis Disciplines
Choosing the Right Detection Tool
The single most important decision: are you asking "did this metric change?" or "is this metric currently wrong?"
Decision rule in plain language
- Use
timeseries-novelty-detectionwhen the question contains "changed", "shifted", "spiked", "dropped", "started", "when did", or "did anything unusual happen". The tool answers whether a change occurred and when. It requires no predefined threshold. - Use an anomaly detector (
adaptive,seasonal, orstatic) when the question is about ongoing or current state relative to an expected range: "which are highest", "who is violating", "what is above X". These tools count violation samples inside a sliding window — they confirm how long something has been bad, not whether the signal changed.
Pitfall: Running
adaptive-anomaly-detectoron a broad fleet to answer "which service changed load?" typically flags every service that has any variation, producing low-signal results. Usetimeseries-novelty-detectionfirst to identify entities where the load character genuinely shifted, then use the anomaly detectors to measure the severity of those specific signals.
When to Use This Skill
- Capacity: "Which hosts will hit 90% CPU in the next 30 days?"
- Forecast: "Forecast service request volume for the next 7 days"
- Trend: "Is memory usage growing across our Kubernetes nodes?"
- Anomaly: "Which services have unusual error rates right now?"
- Baseline: "How does today's traffic compare to last week?"
- Signal profile: "Is this metric seasonal or trending before I set up alerting?"
Important Constraints
Dynatrace Forecast Analyzer supports univariate forecasting only — predicting one metric based on its own historical values. Multivariate forecasting (using multiple metrics as inputs) requires external tools (Python, R, Azure AutoML).
Tooling Rule: Run analyses using Dynatrace tools: timeseries-forecast, adaptive-anomaly-detector, seasonal-baseline-anomaly-detector, static-threshold-analyzer, and timeseries-novelty-detection. Use execute-dql for DQL queries.
Result Analysis Rule: Always analyse and summarise results directly from the raw tool output. Derive all numbers, trends, and conclusions inline.
Result Presentation Format
Always present forecast results as a structured table:
Always follow the table with a Key Findings section (3–5 bullet points, ranked by priority).
Core DQL Techniques
DQL has no native forecast function. For forward-looking forecasts, use timeseries-forecast (see references/forecasting-analyzer.md).
Key DQL Rules
timeseriesreturns arrays — one value per time slot per entityarrayLast(arr)= most recent value;arrayFirst(arr)= oldest- Growth =
(arrayLast - arrayFirst) / number_of_intervals - Always
filter isNotNull(field)before sorting to avoid null ordering issues - Use
toLong()when dividingLongfields to avoid type errors - Use
dt.smartscape.*not deprecateddt.entity.*in DQL display fields; usedt.smartscape.*inby:{}grouping clauses for entity-level queries
Standard Query Patterns
Moving Average Trend
Saturation Risk Classification
Days to Saturation Forecast
Anomaly Scoring
Metric Discovery
Before forecasting, discover available metrics by keyword:
Reference Guides
references/forecasting-analyzer.md—timeseries-forecasttool: data requirements, parameter reference, interval selection, horizon limits, common pitfallsreferences/capacity-forecasting.md— CPU/memory/disk/K8s saturation forecasts; multi-resource risk scoring; days-to-saturation DQL patternsreferences/anomaly-scoring.md—adaptive-anomaly-detector,seasonal-baseline-anomaly-detector,static-threshold-analyzer; DQL deviation scoringreferences/novelty-detection.md—timeseries-novelty-detectiontool: spike, drop, step change, trend onset, and variability change detection; all novelty types; parameter reference; worked examplesreferences/trend-detection.md—timeseries-novelty-detectionfor trend onset and change points; week-over-week joins; growth rate and acceleration detection
Related Skills
- dt-dql-essentials — DQL syntax,
timeseriescommand rules, array function reference - dt-obs-hosts — Host and process metrics catalog
- dt-obs-services — Service RED metrics for service-level trend analysis
- dt-obs-problems — Davis AI problem history for anomaly correlation

