Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
dynatrace avatar

Dt Migration

  • 1.3k installs
  • 119 repo stars
  • Updated July 29, 2026
  • dynatrace/dynatrace-for-ai

dt-migration is a Dynatrace skill that maps auto-tagging ManagementZoneDataSourceMeAttribute keys into semantic dictionary fields so AI coding agents interpret monitoring metadata correctly.

About

dt-migration is a Dynatrace-for-AI skill that automatically maps every ManagementZoneDataSourceMeAttribute key from auto_tagging_attributes.md to the most appropriate field in a semantic dictionary used by AI coding agents. The mapping handles recursive tag rules where *_TAGS conditions reference other tags, and accounts for tags imported from cloud vendor labels or Kubernetes attributes in monitored environments. Fields without direct semantic equivalents are marked explicitly so agents do not invent mappings. Developers reach for dt-migration when Dynatrace auto-tagging metadata must be normalized before AI agents can reason about environments, ownership, or deployment zones during incident response or infrastructure change workflows.

  • Maps every ManagementZoneDataSourceMeAttribute key from auto_tagging_attributes.md to the matching semantic dictionary f
  • Handles HOST, Smartscape nodes, primary tags, cloud vendor tags, and Kubernetes labels
  • Explains recursive tag resolution when rules depend on other *_TAGS conditions
  • Produces a clean field-mapping table that agents can consume for observability context
  • Prevents hallucinated attribute names when agents generate Dynatrace queries or rules

Dt Migration by the numbers

  • 1,348 all-time installs (skills.sh)
  • +73 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #873 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dynatrace/dynatrace-for-ai --skill dt-migration

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.3k
repo stars119
Security audit3 / 3 scanners passed
Last updatedJuly 29, 2026
Repositorydynatrace/dynatrace-for-ai

How do you map Dynatrace auto-tagging keys for AI agents?

Automatically map Dynatrace auto-tagging keys and ManagementZoneDataSourceMeAttribute values into the correct semantic dictionary fields used by AI coding agents.

Who is it for?

Platform engineers running Dynatrace who need AI agents to consume normalized tagging metadata from ManagementZoneDataSourceMeAttribute sources.

Skip if: Teams without Dynatrace auto-tagging or semantic dictionary requirements who only need generic observability dashboards.

When should I use this skill?

Dynatrace auto_tagging_attributes.md keys must be translated into semantic dictionary fields for AI agent workflows or migration scripts.

What you get

Semantic dictionary field mappings for every auto-tagging key, including explicit gaps where no equivalent exists.

  • field mapping table
  • unmapped key report
  • recursive tag resolution notes

Files

SKILL.mdMarkdownGitHub ↗

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:

#SituationClassic anti-patternMigration strategy
1Mass data query filtered by entity conditionsclassicEntitySelector(...) inline in filter: of a timeseries, logs, or metrics queryResolve entity conditions to raw data dimensions first. Smartscape is a fallback, not the default.
2Mass data query using entity subquery for filteringfetch dt.entity.* inside in [...], lookup [...], or join [...] to filter the outer mass data querySame dimension-first strategy. Rewrite as raw dimension filter or in [smartscapeNodes ...] subquery.
3Pure entity list queryfetch dt.entity.* used standalone or as the primary result sourcesmartscapeNodes is the only valid path. No raw dimension alternative exists.

Decision:

  • Situations 1 or 2 — load references/mass-data-filtering-strategy.md and complete all steps including field discovery (Step 2) and equivalence verification (Step 4). Do not skip the fieldsSnapshot gates — they determine which approach is viable. Only fall back to the Migration Workflow below when the entity-type mapping or relationship traversal is needed to complete a Smartscape subquery.
  • Situation 3 — continue with the Migration Workflow and entity mapping table below.
Note: Situation 3 has a sub-case where classicEntitySelector is used to filter the entities returned by fetch dt.entity.*. This is rare and follows the same smartscapeNodes path — resolve the selector conditions using references/mass-data-filtering-strategy.md Step 1B, then apply them as node filters in smartscapeNodes.

Migration Workflow

Follow this order for Situation 3 (pure entity list queries) and for constructing Smartscape subqueries in Situations 1 and 2:

1. Identify the classic input pattern:

  • fetch dt.entity.*
  • classicEntitySelector(...)
  • relationship field access such as belongs_to[...], runs[...], instance_of[...]
  • signal or event queries using dt.entity.*

2. Identify the involved classic entity types. 3. Look up the Smartscape replacement in the core entity mapping table below. 4. Check which classic DQL constructs need explicit migration. 5. Rewrite the query using Smartscape primitives:

  • smartscapeNodes
  • smartscapeEdges
  • traverse
  • references
  • getNodeName()
  • getNodeField()

6. Check for special cases, unsupported entities, or ID assumptions. 7. Load the matching detailed references for the specific entity family or migration pattern.

For the full migration process and output expectations, load references/migration-workflow.md.

Core Entity Mapping Table

Use this compact table first for common migrations. For the full mapping set, load references/type-mappings.md.

Classic / Gen2 entitySmartscape fieldSmartscape node typeNotes
dt.entity.hostdt.smartscape.hostHOSTStandard host mapping
dt.entity.servicedt.smartscape.serviceSERVICEStandard service mapping
dt.entity.process_group_instancedt.smartscape.processPROCESSProcess instance maps directly
dt.entity.container_group_instancedt.smartscape.containerCONTAINERContainer-group instance maps directly
dt.entity.kubernetes_clusterdt.smartscape.k8s_clusterK8S_CLUSTERKubernetes cluster
dt.entity.kubernetes_nodedt.smartscape.k8s_nodeK8S_NODEKubernetes node
dt.entity.kubernetes_servicedt.smartscape.k8s_serviceK8S_SERVICEKubernetes service
dt.entity.cloud_applicationmultiple workload fieldsmultiple K8S workload node typesMaps to multiple workload types; load the cloud-application guide
dt.entity.cloud_application_instancedt.smartscape.k8s_podK8S_PODClassic cloud app instance becomes pod
dt.entity.cloud_application_namespacedt.smartscape.k8s_namespaceK8S_NAMESPACENamespace mapping
dt.entity.applicationdt.smartscape.frontendFRONTENDFrontend application mapping
dt.entity.aws_lambda_functiondt.smartscape.aws.lambda_functionAWS_LAMBDA_FUNCTIONCloud-function entity mapping

DQL Constructs to Inspect During Migration

These classic constructs usually need explicit rewriting:

Classic constructTypical Smartscape replacementNotes
entityName(x)name or getNodeName(x)Prefer name when querying nodes directly
entityAttr(x, "...")direct node field or getNodeField(x, "...")Prefer direct fields when available
classicEntitySelector(...)node filters plus traverseStart from the constrained side; for mass data queries see mass-data-filtering-strategy.md first
dt.entity.* in signal queriesdt.smartscape.*Applies to by, filter, fieldsAdd, expand, and related clauses
belongs_to[...], runs[...], instance_of[...]traverse or references[...]references works only for static edges
classic entity ID filtersSmartscape idDo not reuse classic IDs blindly
affected_entity_ids and affected_entity_typessmartscape.affected_entity.ids and smartscape.affected_entity.typesUse Smartscape event fields

For the detailed function-by-function guide, load references/dql-function-migration.md.

Special Cases

Do not translate these patterns literally:

  • Host group — no standalone Smartscape entity; use fields on HOST
  • Process group — no standalone Smartscape entity; use fields on PROCESS
  • Container group — no standalone Smartscape entity; preserve output shape with placeholders if needed
  • Classic IDs — classic entity IDs do not carry over to Smartscape automatically
  • Planned, missing, or not-planned mappings — check the full mapping table before assuming direct support

Load references/special-cases.md before migrating these patterns.

Entity-Focused Guides

When a migration centers on a specific entity family, load the matching detailed guide:

  • references/entity-host.md
  • references/entity-service.md
  • references/entity-process.md
  • references/entity-container.md
  • references/entity-kubernetes.md
  • references/entity-cloud-application.md

Each guide explains:

  • what the classic entity represented
  • what the Smartscape replacement is
  • which fields usually change
  • how relationships are migrated
  • common examples and pitfalls

References

  • references/README.md — Reference index and reading guide
  • references/mass-data-filtering-strategy.mdStart here for Situations 1 and 2. Mandatory steps: resolve conditions, run fieldsSnapshot discovery, select approach, write query, verify equivalence
  • references/auto-tagging-field-mapping.md — Maps auto-tagging rule condition keys to semantic dictionary fields (mass data and Smartscape node attributes)
  • references/entity-selector-predicates.md — Full predicate vocabulary for classicEntitySelector expressions
  • references/migration-workflow.md — End-to-end migration process and output expectations
  • references/type-mappings.md — Full classic-to-Smartscape type and field mappings
  • references/dql-function-migration.md — How to migrate classic DQL functions and patterns
  • references/relationship-mappings.md — Valid Smartscape edges and traversal guidance
  • references/special-cases.md — Non-literal and unsupported entity migrations
  • references/quick-reference.md — Compact rules and gotchas
  • references/examples.md — Before/after migration examples

Related skills

How it compares

Use dt-migration for Dynatrace-specific tag-to-dictionary translation rather than general monitoring setup or APM dashboard skills.

FAQ

What does dt-migration map from Dynatrace?

dt-migration maps every ManagementZoneDataSourceMeAttribute key listed in auto_tagging_attributes.md to the closest semantic dictionary field, including recursive *_TAGS rules and tags imported from cloud vendors or Kubernetes labels.

How does dt-migration handle unmapped Dynatrace keys?

dt-migration marks keys with no direct semantic dictionary equivalent explicitly, preventing AI coding agents from guessing field mappings when auto-tagging attributes lack a defined target in the semantic dictionary.

Is Dt Migration safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.