Skip to content

dt-migration

Migrate Dynatrace classic and Gen2 entity-based DQL to Smartscape equivalents. Covers three scenarios. (1) mass data queries filtered by classic entity

— (0 ratings) 2.9K downloads dynatrace
$ npx skills add https://github.com/dynatrace/dynatrace-for-ai --skill dt-migration

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Smartscape Migration Skill

This skill migrates Dynatrace classic and Gen2 entity-based DQL queries and query patterns to Smartscape-based equivalents.

Load the dt-dql-essentials skill before writing final DQL so the translated query also follows current DQL syntax rules.

This skill focuses on Smartscape-oriented DQL migration only. It does not cover asset-level migration workflows.

Query Purpose Classification

Start here. The correct migration strategy depends on what the query is actually trying to do — not just which classic constructs it uses.

There are three distinct situations:

# Situation Classic anti-pattern Migration strategy
1 Mass data query filtered by entity conditions classicEntitySelector(...) inline in filter: of a timeseries, logs, or metrics query Resolve entity conditions to raw data dimensions first. Smartscape is a fallback, not the default.
2 Mass data query using entity subquery for filtering fetch dt.entity.* inside in [...], lookup [...], or join [...] to filter the outer mass data query Same dimension-first strategy. Rewrite as raw dimension filter or in [smartscapeNodes ...] subquery.
3 Pure entity list query fetch dt.entity.* used standalone or as the primary result source smartscapeNodes is the only valid path. No raw dimension alternative exists.

Installs: 2.9K | GitHub stars: 190 | First seen: Apr 3, 2026

Related skills

New

DevOps & cloud

azure-storage

Unified access to Azure blob storage, file shares, queues, tables, and data lake services.

New • 780.2K
New

Databases

azure-resource-lookup

Fast discovery and inventory of Azure resources across subscriptions using Resource Graph queries.

New • 779.5K
New

DevOps & cloud

azure-resource-visualizer

Transform Azure resource groups into detailed architecture diagrams showing resource relationships and configurations.

New • 779.4K