dt-obs-azure

Azure 云资源监控:涵盖虚拟机 (VM)、虚拟机规模集 (VMSS)、SQL 数据库、存储、AKS、应用服务、函数应用、虚拟网络 (VNet)、负载均衡器、事件中心、容器应用与密钥保管库(Key Vault)。用于监控 Azure 基础设施、分析资源使用、审计安全态势并管理跨订阅与资源组的组织层级结构。

仓库最近推送
GitHub Stars
190
Forks
48
Issues / PRs
12

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "dt-obs-azure":https://skillpi.com/zh/skills/deepskill-c265113285bfa4a84ae01d3d802f6255bee04e72b0e4967cdc49d34d383360e9。安装前核对上游来源和版本:https://github.com/Dynatrace/dynatrace-for-ai。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

Azure 云资源监控:涵盖虚拟机 (VM)、虚拟机规模集 (VMSS)、SQL 数据库、存储、AKS、应用服务、函数应用、虚拟网络 (VNet)、负载均衡器、事件中心、容器应用与密钥保管库(Key Vault)。用于监控 Azure 基础设施、分析资源使用、审计安全态势并管理跨订阅与资源组的组织层级结构。

0 下载

介绍来源: third_party · Dynatrace · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: dt-obs-azure
description: Azure cloud resources including VMs, VMSS, SQL Database, Storage, AKS, App Service, Functions, VNet networking, load balancers, Event Hubs, Container Apps, and Key Vault. Monitor Azure infrastructure, analyze resource usage, audit security posture, and manage organizational hierarchy across subscriptions and resource groups.
license: Apache-2.0

Azure Cloud Infrastructure

Monitor and analyze Azure resources using Dynatrace Smartscape and DQL. Query Azure services, audit security, manage organizational hierarchy, and plan capacity across your Azure infrastructure.

When to Use This Skill

Use this skill when the user needs to work with Azure resources in Dynatrace. Load the reference file for the task type:

Task File to load
Inventory and topology queries (no additional file — use core patterns below)
Query Azure metric timeseries (CPU, latency, throughput) Load references/metrics-performance.md
VNet topology, subnets, NSGs, public IPs, VPN, peering Load references/vnet-networking-security.md
Azure SQL, Cosmos DB, PostgreSQL, Redis investigation Load references/database-monitoring.md
Functions, App Service, AKS infrastructure, Container Apps Load references/serverless-containers.md
Azure LB, Application Gateway, Front Door, API Management Load references/load-balancing-api.md
WAF rule analysis, false-positive investigation Load references/load-balancing-api.md
Event Hubs, Service Bus, Event Grid Load references/messaging-integration.md
Storage Accounts, Blob, File, Queue, Table Load references/storage-monitoring.md
Unattached resources, tag compliance, lifecycle Load references/resource-management.md
Cost savings, unused resources, SKU analysis Load references/cost-optimization.md
Capacity headroom, VMSS scaling, quotas Load references/capacity-planning.md
Security audit, encryption, public access, Key Vault Load references/security-compliance.md
NSG rule analysis (0.0.0.0/0, open ports) Load references/security-compliance.md
Storage account encryption/public access audit Load references/security-compliance.md
Cost allocation, chargeback, ownership Load references/resource-ownership.md
Determine orchestration context (AKS, VMSS, standalone) Load references/workload-detection.md

Core Concepts

Entity Types

Azure resources use the AZURE_* prefix and can be queried using the smartscapeNodes function. All Azure entities are automatically discovered and modeled in Dynatrace Smartscape. Entity type names are derived from the ARM resource provider path: /Microsoft.Compute/virtualMachines becomes AZURE_MICROSOFT_COMPUTE_VIRTUALMACHINES. Sub-resources append with underscores: /Microsoft.Sql/servers/databases becomes AZURE_MICROSOFT_SQL_SERVERS_DATABASES.

Compute: AZURE_MICROSOFT_COMPUTE_VIRTUALMACHINES, AZURE_MICROSOFT_COMPUTE_VIRTUALMACHINESCALESETS, AZURE_MICROSOFT_COMPUTE_VIRTUALMACHINESCALESETS_VIRTUALMACHINES, AZURE_MICROSOFT_COMPUTE_DISKS, AZURE_MICROSOFT_COMPUTE_SSHPUBLICKEYS, AZURE_MICROSOFT_COMPUTE_VIRTUALMACHINES_EXTENSIONS Networking: AZURE_MICROSOFT_NETWORK_VIRTUALNETWORKS, AZURE_MICROSOFT_NETWORK_VIRTUALNETWORKS_SUBNETS, AZURE_MICROSOFT_NETWORK_NETWORKSECURITYGROUPS, AZURE_MICROSOFT_NETWORK_PUBLICIPADDRESSES, AZURE_MICROSOFT_NETWORK_NETWORKINTERFACES, AZURE_MICROSOFT_NETWORK_LOADBALANCERS, AZURE_MICROSOFT_NETWORK_APPLICATIONGATEWAYS, AZURE_MICROSOFT_NETWORK_VIRTUALNETWORKGATEWAYS, AZURE_MICROSOFT_NETWORK_CONNECTIONS, AZURE_MICROSOFT_NETWORK_EXPRESSROUTECIRCUITS Database: AZURE_MICROSOFT_SQL_SERVERS, AZURE_MICROSOFT_SQL_SERVERS_DATABASES, AZURE_MICROSOFT_CACHE_REDIS, AZURE_MICROSOFT_CACHE_REDISENTERPRISE, AZURE_MICROSOFT_DOCUMENTDB_DATABASEACCOUNTS Storage: AZURE_MICROSOFT_STORAGE_STORAGEACCOUNTS, AZURE_MICROSOFT_STORAGE_STORAGEACCOUNTS_BLOBSERVICES_CONTAINERS, AZURE_MICROSOFT_STORAGE_STORAGEACCOUNTS_FILESERVICES_SHARES, AZURE_MICROSOFT_STORAGE_STORAGEACCOUNTS_QUEUESERVICES_QUEUES, AZURE_MICROSOFT_STORAGE_STORAGEACCOUNTS_TABLESERVICES_TABLES Kubernetes/Containers: AZURE_MICROSOFT_CONTAINERSERVICE_MANAGEDCLUSTERS, AZURE_MICROSOFT_CONTAINERSERVICE_MANAGEDCLUSTERS_AGENTPOOLS, AZURE_MICROSOFT_CONTAINERREGISTRY_REGISTRIES, AZURE_MICROSOFT_APP_CONTAINERAPPS, AZURE_MICROSOFT_APP_MANAGEDENVIRONMENTS, AZURE_MICROSOFT_APP_JOBS App Service: AZURE_MICROSOFT_WEB_SITES, AZURE_MICROSOFT_WEB_SERVERFARMS, AZURE_MICROSOFT_WEB_SITES_FUNCTIONS Messaging: AZURE_MICROSOFT_EVENTHUB_NAMESPACES, AZURE_MICROSOFT_EVENTHUB_NAMESPACES_EVENTHUBS, AZURE_MICROSOFT_SERVICEBUS_NAMESPACES, AZURE_MICROSOFT_SERVICEBUS_NAMESPACES_QUEUES, AZURE_MICROSOFT_SERVICEBUS_NAMESPACES_TOPICS, AZURE_MICROSOFT_SERVICEBUS_NAMESPACES_TOPICS_SUBSCRIPTIONS Security/Identity: AZURE_MICROSOFT_KEYVAULT_VAULTS, AZURE_MICROSOFT_MANAGEDIDENTITY_USERASSIGNEDIDENTITIES Monitoring: AZURE_MICROSOFT_OPERATIONALINSIGHTS_WORKSPACES, AZURE_MICROSOFT_INSIGHTS_COMPONENTS API Management: AZURE_MICROSOFT_APIMANAGEMENT_SERVICE

Azure Organizational Hierarchy

Azure organizes resources in a three-level hierarchy: Tenant > Subscription > Resource Group. Every resource belongs to exactly one resource group within one subscription. Use these fields to scope queries:

filter azure.subscription == "08b9810e-..."
filter azure.resource.group == "my-rg"
filter azure.location == "eastus"

Combine these filters for precise scoping:

smartscapeNodes "AZURE_*"
| filter azure.subscription == "<SUBSCRIPTION_ID>"
    and azure.resource.group == "<RESOURCE_GROUP>"
    and azure.location == "<REGION>"
| summarize count = count(), by: {type}
| sort count desc

To see the organizational breakdown across your environment:

smartscapeNodes "AZURE_*"
| summarize resource_count = count(), by: {azure.subscription, azure.resource.group}
| sort resource_count desc

Common Azure Fields

All Azure entities include:

  • azure.subscription — Azure subscription GUID
  • azure.resource.group — Resource group name
  • azure.location — Azure region (e.g., eastus, polandcentral)
  • azure.resourceType — ARM resource type (e.g., microsoft.compute/virtualmachines)
  • azure.provisioning_state — Provisioning state (e.g., Succeeded)
  • azure.object — Full ARM resource JSON (see Configuration Parsing)
  • cloud.provider — Always azure
  • tags — Resource tags (use tags[`key`])

Some entity types also have:

  • azure.resourceId — Full ARM resource ID (VMs and some others)
  • azure.resourceName — Resource name (VMs and some others)
  • azure.availabilityZones — Availability zone list (VMs)

Relationship Types

Azure entity relationships can be traversed using traverse. The dt.traverse.relationship field is not populated for Azure entities, so you must use "*" as the relationship name in all traversal commands.

Key traversal pairs:

  • VM → Disks: traverse "*", "AZURE_MICROSOFT_COMPUTE_DISKS"
  • VM → NICs: traverse "*", "AZURE_MICROSOFT_NETWORK_NETWORKINTERFACES"
  • VM → VMSS: traverse "*", "AZURE_MICROSOFT_COMPUTE_VIRTUALMACHINESCALESETS"
  • VM → Availability Zones: traverse "*", "AZURE_MICROSOFT_RESOURCES_LOCATIONS_AVAILABILITYZONES"
  • VM ← Extensions: traverse "*", "AZURE_MICROSOFT_COMPUTE_VIRTUALMACHINES_EXTENSIONS", direction:backward
  • VMSS → AKS Clusters: traverse "*", "AZURE_MICROSOFT_CONTAINERSERVICE_MANAGEDCLUSTERS"
  • VMSS → Subnets: traverse "*", "AZURE_MICROSOFT_NETWORK_VIRTUALNETWORKS_SUBNETS"
  • VMSS → NSGs: traverse "*", "AZURE_MICROSOFT_NETWORK_NETWORKSECURITYGROUPS"
  • VMSS → LB Backend Pools: traverse "*", "AZURE_MICROSOFT_NETWORK_LOADBALANCERS_BACKENDADDRESSPOOLS"
  • Subnet → VNet: traverse "*", "AZURE_MICROSOFT_NETWORK_VIRTUALNETWORKS"
  • Subnet → NSG: traverse "*", "AZURE_MICROSOFT_NETWORK_NETWORKSECURITYGROUPS"
  • Subnet ← VMSS: traverse "*", "AZURE_MICROSOFT_COMPUTE_VIRTUALMACHINESCALESETS", direction:backward
  • NSG ← NICs: traverse "*", "AZURE_MICROSOFT_NETWORK_NETWORKINTERFACES", direction:backward
  • NSG ← Subnets: traverse "*", "AZURE_MICROSOFT_NETWORK_VIRTUALNETWORKS_SUBNETS", direction:backward
  • LB → Backend Pools: traverse "*", "AZURE_MICROSOFT_NETWORK_LOADBALANCERS_BACKENDADDRESSPOOLS"
  • LB → Frontend IPs: traverse "*", "AZURE_MICROSOFT_NETWORK_LOADBALANCERS_FRONTENDIPCONFIGURATIONS"
  • LB → LB Rules: traverse "*", "AZURE_MICROSOFT_NETWORK_LOADBALANCERS_LOADBALANCINGRULES"
  • SQL Server ← SQL Databases: traverse "*", "AZURE_MICROSOFT_SQL_SERVERS_DATABASES", direction:backward
  • Storage Account ← Blob Containers: traverse "*", "AZURE_MICROSOFT_STORAGE_STORAGEACCOUNTS_BLOBSERVICES_CONTAINERS", direction:backward
  • Storage Account ← File Shares: traverse "*", "AZURE_MICROSOFT_STORAGE_STORAGEACCOUNTS_FILESERVICES_SHARES", direction:backward
  • AKS ← VMSS: traverse "*", "AZURE_MICROSOFT_COMPUTE_VIRTUALMACHINESCALESETS", direction:backward
  • AKS ← Agent Pools: traverse "*", "AZURE_MICROSOFT_CONTAINERSERVICE_MANAGEDCLUSTERS_AGENTPOOLS", direction:backward
  • AKS ← NSGs: traverse "*", "AZURE_MICROSOFT_NETWORK_NETWORKSECURITYGROUPS", direction:backward
  • AKS ← Public IPs: traverse "*", "AZURE_MICROSOFT_NETWORK_PUBLICIPADDRESSES", direction:backward
  • AKS → Public IPs: traverse "*", "AZURE_MICROSOFT_NETWORK_PUBLICIPADDRESSES"
  • Web Site → App Service Plan: traverse "*", "AZURE_MICROSOFT_WEB_SERVERFARMS"
  • Web Site ← Functions: traverse "*", "AZURE_MICROSOFT_WEB_SITES_FUNCTIONS", direction:backward
  • Container App → Managed Environment: traverse "*", "AZURE_MICROSOFT_APP_MANAGEDENVIRONMENTS"
  • EventHub Namespace ← Event Hubs: traverse "*", "AZURE_MICROSOFT_EVENTHUB_NAMESPACES_EVENTHUBS", direction:backward
  • ServiceBus Namespace ← Queues: traverse "*", "AZURE_MICROSOFT_SERVICEBUS_NAMESPACES_QUEUES", direction:backward
  • ServiceBus Namespace ← Topics: traverse "*", "AZURE_MICROSOFT_SERVICEBUS_NAMESPACES_TOPICS", direction:backward
  • ServiceBus Topic ← Subscriptions: traverse "*", "AZURE_MICROSOFT_SERVICEBUS_NAMESPACES_TOPICS_SUBSCRIPTIONS", direction:backward
  • Use fieldsKeep:{field1, field2} to carry fields through multi-hop traversals
  • After a single-hop traverse, use dt.traverse.history[0][id] to get the source entity ID, then lookup to resolve the source entity name:
    | fieldsAdd sourceId = dt.traverse.history[0][id]
    | lookup [smartscapeNodes "SOURCE_TYPE" | fields name, id], sourceField: sourceId, lookupField: id, prefix: "src."
  • After multi-hop traversals, dt.traverse.history[-N] works for fields carried via fieldsKeep

Azure Metric Naming Convention

Dynatrace ingests Azure Monitor metrics and exposes them using this naming pattern:

cloud.azure.<provider_namespace>.<resource_type>.<MetricName>

The <provider_namespace> uses underscores within the namespace (e.g., microsoft_compute) and <resource_type> is lowercase (e.g., virtualmachines). Hierarchy levels are dot-separated: microsoft_sql.servers.databases. <MetricName> is the Azure Monitor metric name.

Examples:

Azure Monitor metric Dynatrace metric key
VM Percentage CPU cloud.azure.microsoft_compute.virtualmachines.PercentageCPU
SQL DB cpu_percent cloud.azure.microsoft_sql.servers.databases.cpu_percent
Storage Ingress cloud.azure.microsoft_storage.storageaccounts.Ingress
Event Hub IncomingMessages cloud.azure.microsoft_eventhub.namespaces.IncomingMessages
Service Bus IncomingMessages cloud.azure.microsoft_servicebus.namespaces.IncomingMessages
App Service HttpResponseTime cloud.azure.microsoft_web.sites.HttpResponseTime
Load Balancer ByteCount cloud.azure.microsoft_network.loadbalancers.ByteCount
AKS node_cpu_usage_percentage cloud.azure.microsoft_containerservice.managedclusters.node_cpu_usage_percentage
Cosmos DB TotalRequestUnits cloud.azure.microsoft_documentdb.databaseaccounts.TotalRequestUnits
Redis serverLoad cloud.azure.microsoft_cache.redis.serverLoad
App Gateway TotalRequests cloud.azure.microsoft_network.applicationgateways.TotalRequests

To query a metric:

timeseries cpu = avg(cloud.azure.microsoft_compute.virtualmachines.PercentageCPU),
           by: {dt.smartscape_source.id},
  from: now()-1h
| limit 10

Important: Never refer to these as "Azure Monitor alerts" or "Azure Monitor metrics" in output. Dynatrace monitors Azure resources natively through its Azure integration — these are Dynatrace metrics ingested from Azure.

Configuration Parsing with azure.object

The azure.object field contains the full ARM resource JSON. Parse it with the azjson alias:

parse azure.object, "JSON:azjson"

The JSON is wrapped in a configuration key:

{
  "configuration": {
    "id": "<ARM resource ID>",
    "name": "<resource name>",
    "type": "<ARM resource type>",
    "location": "<region>",
    "sku": { ... },
    "properties": { ... },
    "zones": [...]
  },
  "tags": { ... }
}

Access patterns:

  • Properties: azjson[configuration][properties][field]
  • SKU: azjson[configuration][sku][name]
  • Kind: azjson[configuration][kind]
  • Zones: azjson[configuration][zones]

Common configuration fields by service:

  • VM: properties.hardwareProfile.vmSize, properties.storageProfile.imageReference.offer, properties.storageProfile.osDisk.osType, properties.extended.instanceView.powerState.displayStatus
  • VMSS: sku.name (VM size), sku.capacity (instance count), tags.aks-managed-poolName
  • NSG: properties.securityRules[] (custom rules array), properties.securityRules[].properties.direction, properties.securityRules[].properties.access, properties.securityRules[].properties.sourceAddressPrefix
  • Storage Account: kind (e.g., StorageV2), sku.name, properties.accessTier, properties.supportsHttpsTrafficOnly, properties.allowBlobPublicAccess, properties.encryption.keySource
  • SQL Server: properties.fullyQualifiedDomainName, properties.publicNetworkAccess, properties.minimalTlsVersion
  • SQL Database: sku.name (tier), sku.capacity (DTU/vCore), properties.status, properties.zoneRedundant
  • AKS: properties.kubernetesVersion, properties.powerState.code, properties.networkProfile.networkPlugin, properties.enableRBAC
  • Web Site: kind (e.g., functionapp,linux), properties.state, properties.defaultHostName, properties.siteConfig.linuxFxVersion
  • Container App: properties.runningStatus, properties.template.containers[].image, properties.template.scale.minReplicas, properties.template.scale.maxReplicas
  • Event Hub Namespace: sku.name, properties.kafkaEnabled, properties.zoneRedundant
  • Service Bus Namespace: sku.name (Basic/Standard/Premium), properties.zoneRedundant, properties.minimumTlsVersion, properties.publicNetworkAccess, properties.disableLocalAuth, properties.status
  • Service Bus Queue: properties.maxSizeInMegabytes, properties.enablePartitioning, properties.deadLetteringOnMessageExpiration, properties.maxDeliveryCount, properties.lockDuration, properties.requiresDuplicateDetection, properties.status
  • Key Vault: properties.enableRbacAuthorization, properties.enableSoftDelete, properties.publicNetworkAccess
  • Redis: properties.sku.name, properties.hostName, properties.redisVersion, properties.enableNonSslPort
  • Cosmos DB: kind (e.g., GlobalDocumentDB), properties.EnabledApiTypes, properties.consistencyPolicy.defaultConsistencyLevel
  • Load Balancer: sku.name, tags.aks-managed-cluster-name
  • App Gateway: properties.sku.name, properties.sku.tier, properties.operationalState, properties.webApplicationFirewallConfiguration.enabled, properties.webApplicationFirewallConfiguration.firewallMode (Detection/Prevention), properties.webApplicationFirewallConfiguration.ruleSetType, properties.webApplicationFirewallConfiguration.ruleSetVersion, properties.webApplicationFirewallConfiguration.disabledRuleGroups[], properties.webApplicationFirewallConfiguration.exclusions[], properties.firewallPolicy.id

Query Patterns

All Azure queries build on four core patterns. Master these and adapt them to any entity type.

Pattern 1: Resource Discovery

List resources by type, filter by subscription/resource group/region/tags, summarize counts:

smartscapeNodes "AZURE_*"
| filter azure.subscription == "<SUBSCRIPTION_ID>" and azure.location == "<REGION>"
| summarize count = count(), by: {type}
| sort count desc

To list a specific type, replace "AZURE_*" with the entity type (e.g., "AZURE_MICROSOFT_COMPUTE_VIRTUALMACHINES"). Add | fields name, azure.subscription, azure.resource.group, azure.location, ... to select specific columns. Use tags[`TagName`] for tag-based filtering.

Pattern 2: Configuration Parsing

Parse azure.object JSON for detailed configuration fields:

smartscapeNodes "AZURE_MICROSOFT_COMPUTE_VIRTUALMACHINES"
| parse azure.object, "JSON:azjson"
| fieldsAdd vmSize = azjson[configuration][properties][hardwareProfile][vmSize],
            osType = azjson[configuration][properties][storageProfile][osDisk][osType]
| summarize vm_count = count(), by: {vmSize, osType, azure.location}

Pattern 3: Relationship Traversal

Follow relationships between resources. Use "*" for the relationship name since Azure does not populate dt.traverse.relationship:

smartscapeNodes "AZURE_MICROSOFT_NETWORK_LOADBALANCERS"
| parse azure.object, "JSON:azjson"
| fieldsAdd lbSku = azjson[configuration][sku][name]
| traverse "*", "AZURE_MICROSOFT_NETWORK_LOADBALANCERS_BACKENDADDRESSPOOLS", fieldsKeep:{lbSku, name, id}
| fieldsAdd backendPoolName = name
| traverse "*", "AZURE_MICROSOFT_COMPUTE_VIRTUALMACHINESCALESETS", direction:backward, fieldsKeep:{backendPoolName, id}
| fieldsAdd loadBalancerName = dt.traverse.history[-2][name],
            loadBalancerId = dt.traverse.history[-2][id],
            backendPoolId = dt.traverse.history[-1][id]

Key differences from AWS traversals:

  • Always use "*" as the relationship name (relationship type names are empty for Azure)
  • Azure relationships primarily follow a parent-child hierarchy: sub-resources link backward to parent resources
  • AKS is a major relationship hub with backward links from VMSS, NSGs, LBs, Public IPs, Agent Pools, and Managed Identities

Pattern 4: Tag-Based Ownership

Group resources by any tag for ownership/chargeback:

smartscapeNodes "AZURE_*"
| filter isNotNull(tags[`<TAG_NAME>`])
| summarize resource_count = count(), by: {tags[`<TAG_NAME>`], type}
| sort resource_count desc

Common Azure tags: tags[`ACE:CREATED-BY`], tags[`dt_owner_email`], tags[`dt_owner_team`], tags[`project`], tags[`managed-by`]. Replace "AZURE_*" with a specific type to scope to one service.

Find untagged resources: | filter arraySize(tags) == 0


Reference Guide

Load reference files for detailed queries when the core patterns above need service-specific adaptation.

Reference When to load Key content
vnet-networking-security.md VNet topology, subnets, NSGs, public IPs, VPN, peering VNet/subnet mapping, NSG blast radius, public IP detection
database-monitoring.md Azure SQL, Cosmos DB, Redis Cache Service tier distribution, zone redundancy, public access checks
serverless-containers.md Functions, App Service, AKS infra, Container Apps Runtime distribution, App Service Plan mapping, AKS node pools
load-balancing-api.md Load Balancers, Application Gateways, API Management LB backend pool traversal, App Gateway routing, APIM config
messaging-integration.md Event Hubs, Service Bus, Event Grid Namespace inventory, Kafka enablement, throughput unit analysis
storage-monitoring.md Storage Accounts, Blob, File, Queue, Table SKU distribution, access tier, encryption audit, public access
resource-management.md Resource audits, tag compliance, lifecycle Unattached disks, tag coverage, provisioning state analysis
cost-optimization.md Cost savings, unused resources, sizing VM SKU analysis, unattached disks, deallocated VMs
capacity-planning.md Capacity analysis, scaling, utilization VMSS headroom, subnet IP counts, AKS node pool sizing
security-compliance.md Security audits, encryption, public access, Key Vault NSG rule analysis, TLS version audit, public endpoint detection, encryption checks
resource-ownership.md Chargeback, ownership, cost allocation Tag-based grouping, subscription/resource-group summaries
workload-detection.md Determine orchestration context and resolution path AKS node, VMSS member, standalone VM detection for blast radius analysis
metrics-performance.md Query metric timeseries for a specific resource DQL timeseries patterns for VM, SQL, Storage, Event Hub, LB, App Service, AKS, Cosmos DB, Redis, App Gateway

Best Practices

Query Optimization

  1. Filter early by subscription, resource group, and region
  2. Use specific entity types (avoid "AZURE_*" wildcards when possible)
  3. Limit results with | limit N for exploration
  4. Use isNotNull() checks before accessing nested fields

Configuration Parsing

  1. Always parse azure.object with JSON parser: parse azure.object, "JSON:azjson"
  2. Use consistent field naming: fieldsAdd configField = azjson[configuration][properties][field]
  3. Access SKU via azjson[configuration][sku][name] (not inside properties)
  4. Check for null values after parsing — not all entity types have the same properties structure
  5. Use toString() for complex nested objects

Organizational Hierarchy

  1. Always scope queries by azure.subscription in multi-subscription environments
  2. Use azure.resource.group to narrow to a team or application boundary
  3. Combine azure.location for region-specific analysis
  4. Use summarize ... by: {azure.subscription, azure.resource.group} for organizational breakdowns

Tagging Strategy

  1. Use tags[`key`] for filtering (backtick-quoted key names)
  2. Check arraySize(tags) for untagged resources
  3. Track tag coverage with summarize operations
  4. Common ownership tags: dt_owner_email, dt_owner_team, ACE:CREATED-BY

Limitations and Notes

Smartscape Limitations

  • Azure object configuration requires parsing with parse azure.object, "JSON:azjson"
  • Azure metrics are available as Dynatrace metrics using the cloud.azure.* naming convention (see Azure Metric Naming Convention)
  • Resource discovery depends on Azure integration configuration in Dynatrace
  • Tag synchronization may have slight delays

Relationship Traversal

  • Azure relationship type names are empty — always use "*" as the relationship name in traverse commands
  • Use direction:backward for reverse relationships (e.g., sub-resources to parent)
  • Use fieldsKeep to maintain important fields through traversal
  • Access traversal history with dt.traverse.history[0][id] for single-hop source entity ID; use lookup to resolve source entity name
  • For multi-hop traversals, dt.traverse.history[-N] accesses fields carried via fieldsKeep
  • Azure relationships primarily follow parent-child hierarchy patterns
  • AKS is a major relationship hub — expect many backward relationships converging on AKS cluster entities

AKS Coverage

  • This skill covers AKS infrastructure-layer entities only (clusters, agent pools, VMSS, networking)
  • For Kubernetes workload-layer observability (pods, deployments, services, namespaces), defer to the dt-obs-kubernetes skill

General Tips

  • Use getNodeName() for human-readable resource names
  • Handle null values gracefully with isNotNull() and isNull()
  • Combine subscription, resource group, and region filters for large environments
  • Use countDistinct() for unique resource counts
  • The azure.resourceType field is lowercase ARM format (e.g., microsoft.compute/virtualmachines) — useful for filtering but not for entity type matching

版本历史

  1. v10.0.0 GitHub ↗
    原版更新说明

    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 ↗
    原版更新说明

    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 ↗
    原版更新说明

    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 ↗
    原版更新说明

    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 ↗
    原版更新说明

    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

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • Azure云基础设施监控是典型的高频刚需场景,涵盖VM、VMSS、SQL数据库、存储、AKS、应用服务、函数应用、虚拟网络、负载均衡器、事件中心、容器应用和密钥保管库等核心Azure服务
  • 提供了完整的监控、分析、安全审计和组织层级管理功能,直接解决用户在Azure环境中资源管理和运维的核心痛点
  • 参考文件的模块化设计提升了实用性,用户可以根据具体任务类型加载对应的参考文件
触发精准88/100

亮点

  • 触发词精准完整,覆盖多种变体,边界清晰
  • description明确列出了支持的Azure资源类型和核心功能场景
  • skill_body中的When to Use This Skill表格进一步细化了不同任务类型对应的参考文件,触发条件清晰且覆盖全面
结构规范95/100

亮点

  • 文档结构非常完整,包含Core Concepts、Query Patterns、Reference Guide、Best Practices等清晰章节
  • 提供了丰富的DQL示例和模板,frontmatter信息完整
  • 单文件结构清晰,易于理解执行流程
执行可靠90/100

亮点

  • DQL查询模式清晰,提供了完整的Azure实体类型定义、关系遍历方法和配置解析指南
  • metric命名规范明确,异常处理建议合理
  • 工具来源明确,参数正确,覆盖主要异常情况
证据可验 (前四项均值)91/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

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

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。