dt-obs-predictive-analytics

Dynatrace predictive analytics: use the timeseries-forecast tool for time‑series forecasting, capacity saturation planning, and trend and anomaly detection for hosts, services, and infrastructure.

Last repository push
GitHub Stars
190
Forks
48
Issues / PRs
12

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "dt-obs-predictive-analytics" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-57db44ced223d4499f008cc7b38a7708f9052069646de6d5bc1503f0885b66f5. Verify the upstream source and version against https://github.com/Dynatrace/dynatrace-for-ai before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Dynatrace predictive analytics: use the timeseries-forecast tool for time‑series forecasting, capacity saturation planning, and trend and anomaly detection for hosts, services, and infrastructure.

0 Downloads

Introduction source: third_party · Dynatrace · 0.0.1 Reference

SkillPi interpretation

Tasks
Predictive analytics for Dynatrace — time series forecasting with the timeseries-forecast tool, capacity saturation planning, trend and anomaly detection across hosts, services, and infrastructure.
Audience
**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?"
Limits and differences
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.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: dt-obs-predictive-analytics
description: Predictive analytics for Dynatrace — time series forecasting with the timeseries-forecast tool, capacity saturation planning, trend and anomaly detection across hosts, services, and infrastructure.
license: Apache-2.0

Predictive Analytics Skill

Forecast resource saturation, detect trends, analyze anomalies, and characterize signal behavior using DQL and Dynatrace analyzer tools.

Analysis Disciplines

# Discipline Use when …
1 Forecast and Prediction Predicting future metric values for capacity planning, cost estimation, or proactive alerting
2 Detecting Changes A metric shifted — find when the character of the signal changed, regardless of whether it crossed a limit
3 Detecting Violations A metric is currently out of bounds — find entities that exceed or fall below an acceptable range
4 Timeseries Characteristics Characterizing a signal's seasonality, noise level, and trend before further analysis

Choosing the Right Detection Tool

The single most important decision: are you asking "did this metric change?" or "is this metric currently wrong?"

Question Tool Why
"Did this metric change in the last N hours?" timeseries-novelty-detection Detects when the signal's character changed (spike, step, trend onset, variability shift) without requiring a known acceptable limit
"Which services spiked or dropped recently?" timeseries-novelty-detection with SPIKE / CHANGE_IN_VALUES Finds the specific entities and timestamps where change occurred; returns empty for stable signals
"When did CPU start trending up?" timeseries-novelty-detection with TREND_IN_VALUES Pinpoints the onset of a directional shift
"Which hosts are currently above 90% CPU?" static-threshold-analyzer Known fixed limit — fire alerts when exceeded
"Which services are currently above their usual load?" adaptive-anomaly-detector Learns the normal distribution from the data and flags sustained threshold violations
"Which services are high right now vs. their weekly pattern?" seasonal-baseline-anomaly-detector Accounts for time-of-day/day-of-week patterns before deciding what is anomalous

Decision rule in plain language

  • Use timeseries-novelty-detection when 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, or static) 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-detector on a broad fleet to answer "which service changed load?" typically flags every service that has any variation, producing low-signal results. Use timeseries-novelty-detection first 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:

Column Content
Rank 🥇 🥈 🥉 ordered by urgency or magnitude
Signal / Entity Metric name and entity or dimension
Last Actual Most recent non-null value from the historical series
Forecast Point forecast at the end of the horizon
Range Lower – Upper confidence band at the same horizon point
Trend % change from Last Actual to Forecast: 🔴 >+20% / 🟠 +5–20% / 🟢 ±5% stable / 🔵 −5–20% declining / ⚫ <−20% sharp drop
Action ✅ No action / ⚠️ Monitor / 🔴 Act now

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

  1. timeseries returns arrays — one value per time slot per entity
  2. arrayLast(arr) = most recent value; arrayFirst(arr) = oldest
  3. Growth = (arrayLast - arrayFirst) / number_of_intervals
  4. Always filter isNotNull(field) before sorting to avoid null ordering issues
  5. Use toLong() when dividing Long fields to avoid type errors
  6. Use dt.smartscape.* not deprecated dt.entity.* in DQL display fields; use dt.smartscape.* in by:{} grouping clauses for entity-level queries

Standard Query Patterns

Moving Average Trend

timeseries cpu = avg(dt.host.cpu.usage), from: now()-24h, interval: 1h, by: {dt.smartscape.host}
| fieldsAdd moving_avg = arrayMovingAvg(cpu, 4)
| fieldsAdd current = arrayLast(cpu)
| fieldsAdd trend = arrayLast(cpu) - arrayFirst(cpu)
| filter isNotNull(current)
| sort trend desc
| limit 20
| fields dt.smartscape.host, current, trend, moving_avg

Saturation Risk Classification

timeseries cpu = avg(dt.host.cpu.usage), from: now()-7d, interval: 1h, by: {dt.smartscape.host}
| fieldsAdd p95 = arrayPercentile(cpu, 95)
| fieldsAdd saturation_risk = if(p95 > 85, "HIGH", else: if(p95 > 70, "MEDIUM", else: "LOW"))
| filter isNotNull(p95)
| sort p95 desc
| fields dt.smartscape.host, p95, saturation_risk

Days to Saturation Forecast

timeseries cpu = avg(dt.host.cpu.usage), from: now()-30d, interval: 1d, by: {dt.smartscape.host}
| fieldsAdd current = arrayLast(cpu)
| fieldsAdd daily_growth = (arrayLast(cpu) - arrayFirst(cpu)) / 30
| filter isNotNull(current)
| fieldsAdd days_to_saturation = if(daily_growth > 0, toLong((90 - current) / daily_growth), else: 9999)
| sort days_to_saturation asc
| limit 20
| fields dt.smartscape.host, current, daily_growth, days_to_saturation

Anomaly Scoring

timeseries cpu = avg(dt.host.cpu.usage), from: now()-24h, interval: 1h, by: {dt.smartscape.host}
| fieldsAdd baseline_avg = arrayAvg(cpu)
| fieldsAdd current = arrayLast(cpu)
| fieldsAdd anomaly_score = if(isNotNull(current) and isNotNull(baseline_avg), abs(current - baseline_avg), else: 0)
| sort anomaly_score desc
| limit 20
| fields dt.smartscape.host, current, baseline_avg, anomaly_score

Metric Discovery

Before forecasting, discover available metrics by keyword:

metrics from: now() - 1h
| filter contains(metric.key, "cpu")
| summarize count(), by: {metric.key}
| sort `count()` desc

Reference Guides

  • references/forecasting-analyzer.md — timeseries-forecast tool: data requirements, parameter reference, interval selection, horizon limits, common pitfalls
  • references/capacity-forecasting.md — CPU/memory/disk/K8s saturation forecasts; multi-resource risk scoring; days-to-saturation DQL patterns
  • references/anomaly-scoring.md — adaptive-anomaly-detector, seasonal-baseline-anomaly-detector, static-threshold-analyzer; DQL deviation scoring
  • references/novelty-detection.md — timeseries-novelty-detection tool: spike, drop, step change, trend onset, and variability change detection; all novelty types; parameter reference; worked examples
  • references/trend-detection.md — timeseries-novelty-detection for trend onset and change points; week-over-week joins; growth rate and acceleration detection

Related Skills

  • dt-dql-essentials — DQL syntax, timeseries command 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

Version history

  1. v10.0.0 GitHub ↗
    Original release notes

    This release also includes everything that was merged since v8.0.0 (the intermediate 8.0.1 and 9.0.0 versions were never published as GitHub releases). ## New skills - **`dt-upgrade`**: guided upgrade from classic/2nd-gen to 3rd-gen Dynatrace, with tenant readiness checks, per-feature migration actions, AWS/Azure/GCP cloud integration cutover to Smartscape on Grail, and helper migrators/scanners plus metric mapping tables. - **`dt-obs-extensions`**: check extension status and look up and troubleshoot extension errors. - **`dt-setup-genai`**: instrument GenAI/LLM apps to emit OpenTelemetry `gen_ai.*` spans. - **`dt-setup-openinference-migration`**: migrate from Traceloop/OpenLLMetry to OpenInference. ## New references - `dt-sec-insights`: vulnerability feed - `dt-obs-hosts`: disk monitoring - `dt-setup-flutter`: session replay - `dt-js-runtime`: extensions v2 SDK - `dt-setup-react-native`: Session Replay setup ## Updated skills - **`dt-sec-insights`, `dt-sec-contextualization`, `dt-sec-ioc-hunting`**: events scoped by provider, cheaper hunt queries, invalid IoCs filtered at intake, and reference files reorganized across the three skills. - **`dt-platform-costs`**: reworked query cost attribution; a user-provided rate now overrides the rate card. - **`dt-obs-tracing`**: database spans detected via both `db.system` and `db.system.name`. - Also refreshed: `dt-alerting`, `dt-dql-essentials`, `dt-migration`, `dt-app-dashboards`, `dt-obs-azure`, `dt-obs-frontends`, `dt-obs-ext-monitors`, `dt-obs-hosts`, `dt-obs-kubernetes`, `dt-obs-predictive-analytics`, `dt-obs-problems`, `dt-obs-services`, `dt-sec-semantic-mapping`, `dt-setup-flutter`. ## Plugin and installation - **Google Antigravity** plugin manifest and MCP config added, with install instructions. - The MCP client header is now `Dt-External-Source` (`dynatrace-for-ai/<version>`); it was renamed in 8.0.1. - README gains a Cursor plugin install section; the README and `llms.txt` catalog now list all 38 skills. **Full Changelog**: https://github.com/Dynatrace/dynatrace-for-ai/compare/v8.0.0...v10.0.0

  2. v8.0.0 GitHub ↗
    Original release notes

    This release adds a dedicated OneAgent installation skill covering Kubernetes, Windows, AWS Lambda, Azure VMs, and remote EC2 hosts, and deepens Kubernetes, host-inventory, and frontend troubleshooting coverage in existing skills. ## ✨ New skills - **`dt-setup-oneagent`** — Step-by-step OneAgent installation guidance for Kubernetes, Windows, AWS Lambda, Azure VMs, and remote EC2 hosts, covering monitoring modes, agent versions, and per-platform install parameters. ## 🔎 Deeper coverage in existing skills - **`dt-obs-hosts`** — New OneAgent inventory queries: count and list hosts by monitoring mode (`FULL_STACK` / `INFRASTRUCTURE` / `DISCOVERY`) and by installed agent version. - **`dt-obs-kubernetes`** — Clarified `k8s.object` availability by entity type, correct casing for `k8s.workload.kind`, aggregation rules for resource requests/limits (avoiding undercounting on multi-container pods and DaemonSets), and more accurate pod-phase filtering. - **`dt-obs-frontends`** — New frontend-to-backend request linking reference, plus expanded troubleshooting and error-tracking guidance. - **`dt-migration`** — Expanded Kubernetes entity migration reference. - **`dt-dql-essentials`** — New data-discovery reference. - **`dt-app-dashboards`**, **`dt-app-notebooks`**, **`dt-alerting`**, **`dt-js-runtime`**, **`dt-obs-aws`**, **`dt-obs-azure`**, **`dt-obs-network-flows`** — Reference refinements. ## 📦 At a glance - **34 skills** total. - 1 new skill, 12 skills refreshed. **Full Changelog**: https://github.com/Dynatrace/dynatrace-for-ai/compare/v7.0.0...v8.0.0

  3. v7.0.0 GitHub ↗
    Original release notes

    This release extends observability into the network layer with SNMP device monitoring and multi-source flow analysis, adds a dedicated skill for tracking EU DORA compliance posture, and renames the mobile instrumentation skills for clarity. ## ✨ New skills - **`dt-obs-network-devices`** — Analyze SNMP-monitored network devices (switches, routers, firewalls, load balancers) across three data layers: Smartscape topology, device/interface metrics (CPU, memory, uptime, throughput, errors), and logs (SNMP traps, syslog, auto-discovery). Inventory devices, find down or saturated interfaces, map neighbors, and investigate traps. - **`dt-obs-network-flows`** — Analyze network flows across three sources: OneAgent flows, NetFlow/IPFIX/sFlow via an OpenTelemetry Collector, and cloud VPC flow logs. Find top talkers, map communication dependencies, investigate connection health (resets, timeouts, RTT), and resolve peers to monitored entities. - **`dt-obs-compliance-assistant`** — Monitor and investigate EU DORA (Digital Operational Resilience Act) compliance posture: compliance score, Critical/Important Function (CIF) health, incident classification and lifecycle, and ICT risk inputs (vulnerabilities, security findings, misconfigurations). ## 🔎 Deeper coverage in existing skills - **`dt-migration`**, **`dt-obs-kubernetes`**, **`dt-obs-problems`**, **`dt-alerting`** — Migrated off deprecated `smartscape.affected_entity.*` fields onto verified accessors. - **`dt-platform-costs`** — Billing and cost-attribution references substantially expanded (billing capabilities/event types, cost allocation, cost estimations, entity cost drilldown, query cost attribution, total-cost workflow). - **`dt-sec-insights`** — Expanded vulnerability and detections reference. - **`dt-sec-ioc-hunting`** — New security-events hunting reference; expanded log hunting, exposure scoring, and timeframe-gating guidance. - **`dt-dql-essentials`** — New string-matching reference. - **`dt-obs-genai`**, **`dt-obs-aws`**, **`dt-obs-ext-monitors`** — Reference refinements. ## 🧹 Renamed - **`dt-obs-{android,flutter,ios,react-native}`** → **`dt-setup-{android,flutter,ios,react-native}`** — clearer naming for instrumentation-setup skills, distinct from ongoing observability skills. ## 📦 At a glance - **33 skills** total. - 3 new skills, 4 renamed, 11 refreshed. **Full Changelog**: https://github.com/Dynatrace/dynatrace-for-ai/compare/v6.0.0...v7.0.0

  4. v6.0.0 GitHub ↗
    Original release notes

    This release adds Davis-powered dashboard/notebook analysis, a path for ingesting third-party monitor results into Grail, iOS SDK setup (renamed and modernized), and two new security skills for contextualizing findings and hunting threat-intel indicators. It also ships Cursor plugin support and marketplace listing polish. ## ✨ New skills - **`dt-obs-analytics`** — Analyze dashboards and notebooks with Davis analyzers: anomaly detection, novelty scoring, and metric correlation. Point it at a dashboard/notebook by URL, UUID, or name and it extracts the underlying DQL efficiently — no need to read the full raw document JSON — then runs analyzers on the extracted metrics. - **`dt-obs-ext-monitors`** — Ingest third-party test and monitor results into Dynatrace Grail via the platform events ingest API. Covers token scopes, the full `external_test_run`/`external_test_step` event schema (including trace correlation and CI metadata), and DQL verification. - **`dt-sec-contextualization`** — Resolve security signals, IoC matches, and Smartscape nodes to runtime entities, and connect findings across topology levels (e.g. container image → workload, pod → node) through a shared runtime entity. - **`dt-sec-ioc-hunting`** — Extract and normalize indicators of compromise (IPs, domains, URLs, hashes, CVEs, MITRE TTPs) from advisories or pasted reports, hunt them across logs and spans, and produce a threat-exposure score. ## 🔎 Deeper coverage in existing skills - **`dt-obs-ios`** (renamed from `dt-obs-ios-sdk`) — Set up the Dynatrace iOS SDK (OneAgent) via Swift Package Manager. - **`dt-sec-insights`** — Vulnerability reference split into focused, more maintainable docs; added coverage/dashboard patterns and a dedicated threat-intelligence reference. - **`dt-sec-semantic-mapping`** — Reference docs consolidated into intake/constraints, semantic reference, and validation/reporting guides, plus a new external threat-report sample. - **`dt-obs-log-semantic-mapping`** — Added OpenPipeline processor constraints reference. - **`dt-migration`** — Expanded cloud application, host, and service entity references with more examples. ## 🧹 Plugin & tooling - Added Cursor plugin support (`.cursor-plugin/`) alongside the existing Claude Code plugin, with marketplace metadata (display name, keywords, logo) and a shared icon for both marketplaces. - Simplified the bundled Dynatrace MCP server config; removed the legacy `plugins/dynatrace/skills/` symlinks now that `skills/` is the canonical, directly-referenced source. - Upgraded CI GitHub Actions to Node 24. ## 📦 At a glance - **30 skills** total. - 4 new skills, 1 renamed, 5 skills refreshed. **Full Changelog**: https://github.com/Dynatrace/dynatrace-for-ai/compare/v5.0.0...v6.0.0

  5. v5.0.0 GitHub ↗
    Original release notes

    This release brings AI/LLM observability to the skill set, introduces semantic-mapping skills for logs and security events, and significantly deepens security and cost-analysis coverage. ## ✨ New skills - **`dt-obs-genai` — LLM & GenAI observability, end to end.** Golden signals, LLM-specific signals, cost and token tracking, agent signals, evaluation scores, guardrail monitoring, and conversation analytics — every query backed by verified DQL. If you're running models or agents on your stack, this is your starting point. - **`dt-obs-log-semantic-mapping`.** Maps raw log data onto a consistent semantic model so queries behave the same way across heterogeneous sources. - **`dt-sec-semantic-mapping`.** Does the same for security events, normalizing third-party and native findings into one model with ready-to-use samples. ## 🔎 Deeper coverage in existing skills - **`dt-sec-insights`** — Substantially expanded compliance coverage (CIS, DORA, NIST, STIG on the posture side; PCI, ISO, HIPAA, GDPR on the regulatory side) and a much richer vulnerability reference, plus new DQL pitfall guidance to keep queries correct. - **`dt-platform-costs`** — Clearer scope: this skill *measures* recorded consumption and now explicitly hands query-tuning questions off to `dt-dql-essentials`. Billing event types and cost-attribution references updated. - **`dt-dql-essentials`** — Performance, cost, and consumption questions now route to a dedicated, expanded optimization guide. ## 🧹 Refinements - **`dt-app-dashboards`** & **`dt-app-notebooks`** — Added reading & analyzing guidance for inspecting existing dashboards and notebooks. - **`dt-alerting`** — Updated workflow notification references. - **`dt-obs-frontends`** — Troubleshooting and user-session reference fixes. - **`dt-obs-ios-sdk`** — Clarified RUM configuration wording. ## 📦 At a glance - **26 skills** total, all registered in the `dynatrace` plugin. - 3 new skills, 9 skills refreshed. **Full Changelog**: https://github.com/Dynatrace/dynatrace-for-ai/compare/v4.0.0...v5.0.0

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

  • 预测分析是运维和容量规划的核心需求,直接解决用户明确的核心任务痛点
  • 显著提升日常高频场景的效率,如容量饱和预测、趋势检测、异常分析
Trigger Precision90/100

Highlights

  • 触发词精准完整,覆盖多种变体,边界清晰
  • When to Use 部分列举了具体用例,触发条件清晰
Structure and Standards95/100

Highlights

  • 文档结构非常完整,包含分析学科、工具选择指南、使用场景、约束、结果展示格式、核心DQL技术、标准查询模式和参考指南
  • 逻辑清晰,示例丰富,frontmatter完整
Execution Reliability90/100

Highlights

  • 工具来源明确,参数正确,覆盖主要异常
  • 提供了详细的DQL示例和约束说明,可靠性高
Evidence Verifiability (mean of the first four)93/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.