dt-alerting
End-to-end Dynatrace alerting lifecycle — anomaly detector setup and model selection (static threshold, adaptive baseline,…
Guide users through Dynatrace upgrade from classic/2nd-gen to 3rd-gen. Assess tenant readiness, run tracking queries, identify migration actions for dashboards, entity queries, IAM, management zones, OpenPipeline, service detection, logs, K8s, RUM, synthetic, alerting. Includes
Claude Code
$ npx -y skills add Dynatrace/dynatrace-for-ai --skill dt-upgrade --agent claude-code
Codex
$ npx skills add Dynatrace/dynatrace-for-ai --skill dt-upgrade -a codex -y
Cursor
$ npx skills add Dynatrace/dynatrace-for-ai --skill dt-upgrade -a cursor -y
Gemini CLI
$ npx skills add Dynatrace/dynatrace-for-ai --skill dt-upgrade -a gemini-cli -y
GitHub Copilot
$ npx skills add Dynatrace/dynatrace-for-ai --skill dt-upgrade -a github-copilot -y
OpenCode
$ npx skills add Dynatrace/dynatrace-for-ai --skill dt-upgrade -a opencode -y
Windsurf
$ npx skills add Dynatrace/dynatrace-for-ai --skill dt-upgrade -a windsurf -y
name: dt-upgrade description: > Guide users through Dynatrace upgrade from classic/2nd-gen to 3rd-gen. Assess tenant readiness, run tracking queries, identify migration actions for dashboards, entity queries, IAM, management zones, OpenPipeline, service detection, logs, K8s, RUM, synthetic, alerting. Includes cloud integration migration (AWS, Azure, GCP) from classic to new (Smartscape on Grail): connection discovery, metric mapping, and cutover. Keywords: upgrade, migrate, classic, gen3, phase2, phase3, readiness, cloud integration, AWS, Azure, GCP, classic connection, new connection, Smartscape on Grail, fleet management, Site Reliability Guardian (SRG), classic pipeline, log processing pipeline, bizevents pipeline, pipeline upgrade, classic processing rules, ActiveGate, authToken, auth token, DynaKube, dynatrace-operator, classicFullStack, Platform token, enable RUM on Grail, RUM migration, mobile RUM, web RUM, Experience Vitals. license: Apache-2.0
Help users assess and execute their Dynatrace upgrade from classic/2nd-generation to 3rd-generation platform concepts.
The Dynatrace upgrade transitions environments from classic (2nd-gen) features to 3rd-generation equivalents. A phase is a property of an environment, not of a customer:
Establish which phase an environment is in before assessing it. See [overview.md](references/overview.md) for the full phase detail, removal lists, and the paths into Phase 3.
When assessing upgrade readiness, tracking data falls into these categories:
This skill drives the upgrade end to end: scope it, plan it, execute it, verify it. Follow the stages below for any request that changes tenant configuration.
> **Hard gate:** do not write a configuration to environment, POST an object, delete a classic object, or start executing a plan until you have told the user what you intend and they have said yes. The artifacts scale with the size of the job. However, the approval is always required.
**Classify the request first and say which tier you picked**, so the user can override it:
When torn between two tiers, take the heavier one. Discovering hidden scope mid-engagement upgrades the tier — say so and step up.
**Read `references/upgrade-workflow.md` before a Program-tier engagement**, and whenever you need the spec template, the plan task structure, or the per-object-type verification steps.
**Validate access and tooling before the first query.** Run `dtctl doctor` — it checks config validity, current context, environment reachability, token retrieval, and API authentication in one command. Then confirm the context points at the *intended* environment (`dtctl config current-context`): running an upgrade against the wrong tenant is the worst failure this skill can cause. If dtctl is not configured, stop and ask which environment to target rather than guessing from a URL in the conversation. Report what you verified, and against which environment, before moving on.
Then establish tenant context and run the discovery queries before asking detailed questions: never plan a migration for an area with no classic usage. Ask clarifying questions one at a time, preferring multiple choice. Establish which objects are still needed at all — abandoned classic config should be deleted, not migrated. Present the scope and approach, then **stop and wait for an explicit yes**. Program tier writes the spec to `docs/dt-upgrade/YYYY-MM-DD-<topic>-spec.md`, self-reviews it, and has the user review it before planning.
One task per migration unit, each naming its reference file, its exact objects, its dependencies, and ending in something the user can review. Bite-sized steps with the actual queries and field mappings written out — "map the fields appropriately" and "handle edge cases" are plan failures, not steps. Self-review against the spec for coverage, placeholders, and task order, then save to `docs/dt-upgrade/YYYY-MM-DD-<topic>-plan.md`.
Reread the plan critically and raise concerns *before* starting. One task at a time, one todo per task, checkpoint with the user between tasks. Stop and ask on any blocker — a missing permission, a field with no gen3 equivalent, an unclear step. Never invent a configuration value to keep moving, and never delete a classic object before its replacement is verified working.
**Evidence before claims.** If you have not run the check in this message, you cannot say it passed.
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…
Kubeshark installation and deployment skill. Use this skill whenever the user wants to install Kubeshark, deploy Kubeshark to a…
Call the user on the phone for real-time voice conversations. Use this when you need input, want to report on completed work, or…