Dt Obs Problems 标志

Dt Obs Problems

组织
Dynatrace
dt-obs-problems

DAVIS 问题分析,包括根因识别、影响评估以及与其他遥测数据的关联。查询或调查已检测到的问题时使用。触发词:“active problems”“root cause analysis”“problem impact”“affected users”“list problems”“P-12345 details”“recurring problems”“problem history”“problem trending”“blast radius”“which entity caused the problem”“problems affecting Kubernetes”“problems by service”。不要用于解释现有查询、回答产品文档问题、常规日志搜索、分布式追踪或主机级资源监控。

Add to TypingMind

概览

发布者Dynatrace
代码仓库dynatrace-for-ai
技能名称dt-obs-problems
星标数
156
复刻数
30
附带文件
4
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Dynatrace 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Dt Obs Problems AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Dynatrace/dynatrace-for-ai/tree/main/skills/dt-obs-problems
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Dynatrace/dynatrace-for-ai.git /tmp/dynatrace-for-ai
mkdir -p .claude/skills
cp -r /tmp/dynatrace-for-ai/skills/dt-obs-problems .claude/skills/dt-obs-problems
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Dt Obs Problems,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Dt Obs Problems。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Dt Obs Problems 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Problem Analysis Skill

Analyze Dynatrace AI-detected problems including root cause identification, impact assessment, and correlation with logs and metrics.


Use Cases

1. Active Problem Triage

  • Goal: List and prioritize currently active problems
  • Trigger: "active problems", "what problems are open", "current issues", "availability issues"
  • Done: Prioritized list of active problems with category, user impact, and display IDs

2. Root Cause Investigation

  • Goal: Identify the root cause entity for a specific problem
  • Trigger: "root cause of P-12345", "what caused this problem", "which entity is the root cause"
  • Done: Root cause entity identified with affected entity list and blast radius

3. Problem Trending

  • Goal: Analyze problem patterns over time to identify recurring issues
  • Trigger: "recurring problems", "problem history", "problem trends last 30 days"
  • Done: Trend data showing problem frequency, recurring root causes, and resolution times

Overview

Dynatrace automatically detects anomalies, performance degradations, and failures across your environment, creating problems that aggregate related alert, warning and info-level events and provide root cause and impact insights.

What are Problems?

Problems are automatically detected, software and infrastructure health and resilience issues that:

  • Automatically correlate related alert, warning, and info-level events across services, infrastructure, frontend applications, and user sessions
  • Identify root causes using causal analysis of Smartscape dependencies
  • Assess business impact by tracking affected users and services
  • Reduce alert noise by grouping related symptoms into single problems that share the same root cause and impact
  • Track problem lifecycle from early detection through resolution

Event Kinds

The event.kind field (stable, permission) identifies the high-level event type:

event.kind valueDescription
DAVIS_EVENTDavis-detected infrastructure/application events
BIZ_EVENTBusiness events (ingested via API or captured from spans)
RUM_EVENTReal User Monitoring events
AUDIT_EVENTAdministrative/security audit events

event.provider (stable, permission) identifies the event source.

Problem Categories

Common event.category values:

CategoryDescriptionExample
AVAILABILITYInfrastructure or service unavailableWeb service returns no data, synthetic test actively fails, database connection lost
ERRORIncreased error rates beyond baselineAPI error rate jumped from 0.1% to 15%
SLOWDOWNPerformance degradationResponse time increased from 200ms to 5000ms
RESOURCEResource saturationContainer memory at 95%, causing OOM kills
CUSTOMCustom anomaly detectionsBusiness KPI (orders/minute) dropped below threshold

Problem Lifecycle

text
Detection → ACTIVE → Under Investigation → CLOSED
  • ACTIVE: Currently occurring issues requiring attention
  • CLOSED: Resolved issues used for historical analysis

Essential Fields

Common Field Name Mistakes

❌ WRONG✅ CORRECTDescription
titleevent.nameProblem title/description
statusevent.statusProblem lifecycle status
severityevent.categoryProblem type/category
startevent.startProblem start time

Correct Status Values

dql
// ✅ CORRECT: Use these status values
fetch dt.davis.problems
| filter event.status == "ACTIVE"   // Currently occurring problems
//     or event.status == "CLOSED"  // Resolved problems
// ❌ INCORRECT: event.status == "OPEN" does not exist!
| limit 1

Key Fields Reference

dql
fetch dt.davis.problems, from:now() - 1h
| filter not(dt.davis.is_duplicate)
| fields
    event.start,                          // Problem start timestamp
    event.end,                            // Problem end timestamp (if closed)
    display_id,                           // Human-readable problem ID (P-XXXXX)
    event.name,                           // Problem title
    event.description,                    // Detailed description
    event.category,                       // Problem type
    event.status,                         // ACTIVE or CLOSED
    dt.smartscape_source.id,              // The smartscape ID for the affected resource
    dt.davis.affected_users_count,        // Number of affected users
    affected_entity_ids = smartscape.affected_entities[][id],  // Array of affected entity IDs
    dt.smartscape.service,                // Affected services (may be array)
    dt.davis.root_cause_entity,           // Entity identified as root cause
    root_cause_entity_id,                 // Root cause entity ID
    root_cause_entity_name,               // Human-readable root cause name
    dt.davis.is_duplicate,                // Whether duplicate detection
    dt.davis.is_rootcause                 // Root cause vs. symptom
| limit 10

Standard Query Pattern

Always start problem queries with this foundation:

dql
fetch dt.davis.problems, from:now() - 2h
| filter not(dt.davis.is_duplicate) and event.status == "ACTIVE"
| fields event.start, display_id, event.name, event.category
| sort event.start desc
| limit 20

Key components:

  • fetch dt.davis.problems - The problems data source
  • not(dt.davis.is_duplicate) - Filter out duplicate detections
  • event.status == "ACTIVE" - Show only active problems
  • Time range - Always specify a reasonable window

Common Query Patterns

Active Problems by Category

dql
fetch dt.davis.problems
| filter not(dt.davis.is_duplicate) and event.status == "ACTIVE"
| summarize problem_count = count(), by: {event.category}
| sort problem_count desc

High-Impact Active Problems (affecting many users)

dql
fetch dt.davis.problems
| filter not(dt.davis.is_duplicate) and event.status == "ACTIVE"
| filter dt.davis.affected_users_count > 100
| fields event.start, display_id, event.name, dt.davis.affected_users_count, event.category
| sort dt.davis.affected_users_count desc

High-Impact Active Problems (affecting many smartscape entities)

dql
fetch dt.davis.problems
| filter not(dt.davis.is_duplicate) and event.status == "ACTIVE"
| filter arraySize(affected_entity_ids) > 5
| fields event.start, display_id, event.name, affected_entity_ids, event.category, impacted_entity_count = arraySize(affected_entity_ids)
| sort impacted_entity_count desc

Specific Problem Details

dql
fetch dt.davis.problems
| filter display_id == "P-XXXXXXXXXX"
| fields event.start, event.end, event.name, event.description, affected_entity_ids, dt.davis.affected_users_count, root_cause_entity_id, root_cause_entity_name

Service-Specific Problem History

dql
fetch dt.davis.problems, from:now() - 7d
| filter not(dt.davis.is_duplicate)
| filter in(dt.smartscape.service, toSmartscapeId("SERVICE-XXXXXXXXX"))
| summarize problems = count(), by: {event.category, event.status}

Root Cause Analysis Patterns

Basic Root Cause Query

dql
fetch dt.davis.problems, from:now() - 24h
| filter not(dt.davis.is_duplicate) and event.status == "ACTIVE"
| fields
    display_id,
    event.name,
    event.description,
    root_cause_entity_id,
    root_cause_entity_name,
    affected_entity_ids = smartscape.affected_entities[][id]

Root Cause by Entity Type

Identify which entity types most frequently cause problems:

dql
fetch dt.davis.problems, from:now() - 7d
| filter not(dt.davis.is_duplicate)
| filter isNotNull(root_cause_entity_id)
| summarize problem_count = count(), by:{root_cause_entity_name}
| sort problem_count desc
| limit 20

Affected entity is an AWS resource

dql
fetch dt.davis.problems, from:now() - 24h
| filter not(dt.davis.is_duplicate) and event.status == "ACTIVE"
| filter iAny(startsWith(smartscape.affected_entities[][type], "AWS_"))

Infrastructure Root Cause with Service Impact

dql
fetch dt.davis.problems, from:now() - 30m
| filter not(dt.davis.is_duplicate) and event.status == "ACTIVE"
| filter matchesPhrase(root_cause_entity_id, "HOST-")
| filter isNotNull(dt.smartscape.service)
| fields display_id, event.name, root_cause_entity_name, dt.smartscape.service

Problem Blast Radius

Calculate entity impact per root cause:

dql
fetch dt.davis.problems, from:now() - 7d
| filter not(dt.davis.is_duplicate)
| filter isNotNull(root_cause_entity_id)
| fieldsAdd affected_count = arraySize(smartscape.affected_entities)
| summarize
    avg_affected = avg(affected_count),
    max_affected = max(affected_count),
    problem_count = count(),
    by:{root_cause_entity_name}
| sort avg_affected desc

Recurring Root Causes

Identify entities repeatedly causing problems:

dql
fetch dt.davis.problems, from:now() - 24h
| filter not(dt.davis.is_duplicate)
| filter isNotNull(root_cause_entity_id)
| summarize
    problem_count = count(),
    first_occurrence = min(event.start),
    last_occurrence = max(event.start),
    by:{root_cause_entity_id, root_cause_entity_name}
| filter problem_count > 3
| sort problem_count desc

Cause Category vs. Root Cause Entity

These are different questions — pick the right approach:

  • "What causes problems?" / "most common cause" → Summarize by event.category (SLOWDOWN, ERROR, RESOURCE, AVAILABILITY, CUSTOM). Explain what triggers each category.
  • "Which entity causes problems?" / "root cause entity" → Group by root_cause_entity_name. Lists specific services, hosts, or apps.

Cause category breakdown (use when asked about common causes, patterns, or types):

dql
fetch dt.davis.problems, from:now() - 30d
| filter not(dt.davis.is_duplicate)
| summarize problem_count = count(), by: {event.category}
| sort problem_count desc

Then for each category, explain what triggers it using the Problem Categories table and cite specific entities from the tenant data as examples.

Problem Trending and Pattern Analysis

Track problem trends over time, identify recurring issues, and analyze resolution performance.

Primary Files:

  • references/problem-trending.md - Timeseries analysis and pattern detection

Common Use Cases:

  • Active problems over time with makeTimeseries
  • Problem creation rate by category
  • Recurring problem detection by schedule
  • Resolution time trends and P95 duration analysis

Key Techniques:

  • makeTimeseries vs bin(): Choose the right approach for lifecycle spans vs discrete events
  • NULL handling: Use coalesce(event.end, now()) for active problems
  • Peak hours analysis: Identify when problems occur most frequently
  • Impact trending: Track user impact changes over time

See references/problem-trending.md for complete query patterns and best practices.

Cross-Domain Problem Queries

Problems Associated with Kubernetes Clusters

Use affected_entity_ids or dt.smartscape_source.id to find problems related to Kubernetes:

dql
fetch dt.davis.problems, from:now() - 7d
| filter not(dt.davis.is_duplicate)
| filter matchesPhrase(dt.smartscape_source.id, "KUBERNETES_CLUSTER")
    OR matchesPhrase(dt.smartscape_source.id, "K8S_")
| fields event.start, display_id, event.name, event.category, event.status,
    dt.smartscape_source.id, affected_entity_ids
| sort event.start desc

Alternative: expand affected entities and filter for K8s entity types:

dql
fetch dt.davis.problems, from:now() - 7d
| filter not(dt.davis.is_duplicate)
| expand entity_id = affected_entity_ids
| filter matchesPhrase(entity_id, "KUBERNETES_CLUSTER")
    OR matchesPhrase(entity_id, "K8S_")
| fields event.start, display_id, event.name, event.category, entity_id
| sort event.start desc

Simple Problem Listing

List all problems from the last 24 hours (common request):

dql
fetch dt.davis.problems, from:now() - 24h
| filter not(dt.davis.is_duplicate)
| fields event.start, event.end, display_id, event.name, event.category, event.status
| sort event.start desc

Response Construction

Problem Cause Summaries

When summarizing problem causes, categories, or patterns, provide a comprehensive breakdown across all standard categories present in the data: AVAILABILITY, ERROR, SLOWDOWN, RESOURCE, and CUSTOM. For each category found:

  1. Category name and count of problems
  2. What triggers it — brief explanation (e.g., RESOURCE = CPU/memory/disk threshold exceeded; AVAILABILITY = service or entity became unreachable)
  3. Specific examples from the tenant's data (affected entity names, problem IDs)

Do not stop after the first two categories — users expect the full picture. Reference the Problem Categories table above for trigger descriptions.

Analysis Results

When presenting query results:

  • Include entity names (not just IDs) — but choose the efficient method:
    • Few entities (< 5): get-entity-name calls are fine
    • Many entities: Use query-problems tool which returns names directly, or include root_cause_entity_name / entityName() in the DQL query to resolve names inline. Avoid calling get-entity-name in a loop for 10+ entities — this can exhaust the tool call limit and return no answer at all.
  • Provide actionable recommendations aligned to the identified causes
  • Organize by frequency or impact for easy prioritization

Best Practices

Essential Rules

  1. Always filter duplicates: Use not(dt.davis.is_duplicate) to avoid counting the same problem multiple times
  2. Use correct status values: "ACTIVE" or "CLOSED", never "OPEN"
  3. Specify time ranges: Always include time bounds to optimize performance
  4. Include display_id: Essential for problem identification and linking
  5. Test incrementally: Add one filter or field at a time when building queries
  6. Filter early: Apply not(dt.davis.is_duplicate) immediately after fetch

Query Development

  • Start simple: Begin with basic filtering, then add complexity
  • Test fields first: Run with | limit 1 to verify field names exist
  • Use meaningful time ranges: Too broad wastes resources, too narrow misses data
  • Document problem IDs: Always capture and store display_id for reference

Root Cause Verification

  • Always filter isNotNull(root_cause_entity_id) when required
  • Cross-reference events using dt.davis.event_ids
  • Consider time delays: root cause may appear in logs minutes before problem

Time Range Guidelines

dql
// ✅ GOOD - Specific time range
fetch dt.davis.problems, from:now() - 4h
dql
// ❌ BAD - Scans all historical data
fetch dt.davis.problems

Absolute Timeframes Require Double Quotes

When using absolute ISO 8601 timestamps for from and to in DQL queries, always wrap them in double quotes. Unquoted timestamps are a syntax error.

dql
// ✅ CORRECT - absolute timestamps quoted
fetch dt.davis.problems, from: "2026-05-18T22:50:00Z", to: "2026-05-18T23:35:00Z"
| filter not(dt.davis.is_duplicate)
| fields event.start, display_id, event.name, event.category, event.status
| sort event.start desc

Troubleshooting

ProblemCauseSolution
No problems returnedUsing event.status == "OPEN"Use "ACTIVE" or "CLOSED" — "OPEN" does not exist
Duplicate problems in resultsMissing deduplication filterAdd filter not(dt.davis.is_duplicate) immediately after fetch
Wrong field name (title, status, severity)SQL-like namingUse event.name, event.status, event.category — see field name table above
root_cause_entity_id is nullNot all problems have identified root causesAdd filter isNotNull(root_cause_entity_id) when querying root causes
Query scans too much data / times outMissing time rangeAlways specify from:now() - <duration> on the fetch command
affected_entity_ids is empty arrayProblem has no mapped affected entitiesCheck dt.smartscape.service or dt.smartscape_source.id as alternatives

When to Load References

Load problem-trending.md when:

  • Analyzing problem frequency over time
  • Detecting recurring problems on a schedule
  • Calculating resolution time trends and P95 durations
  • Comparing problem creation rates by category

Load problem-correlation.md when:

  • Correlating problems with logs or other telemetry
  • Investigating events that preceded a problem
  • Linking problems to deployment or config changes

Load impact-analysis.md when:

  • Assessing business impact (affected users, services)
  • Calculating blast radius for a root cause entity
  • Prioritizing problems by technical and user impact

References

Related Skills

  • dt-dql-essentials - Core DQL syntax and query structure for problem queries
  • dt-obs-logs - Correlate problems with application and infrastructure logs
  • dt-obs-tracing - Investigate problems through distributed trace analysis

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Dt Obs Problems AI 技能有什么作用?

DAVIS 问题分析,包括根因识别、影响评估以及与其他遥测数据的关联。查询或调查已检测到的问题时使用。触发词:“active problems”“root cause analysis”“problem impact”“affected users”“list problems”“P-12345 details”“recurring problems”“problem history”“problem trending”“blast radius”“which entity caused the problem”“problems affecting Kubernetes”“problems by service”。不要用于解释现有查询、回答产品文档问题、常规日志搜索、分布式追踪或主机级资源监控。

为什么在 TypingMind 中使用 Dt Obs Problems?

因为您只需安装一次,就能搭配任何模型使用。Dt Obs Problems 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Dt Obs Problems?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Dynatrace/dynatrace-for-ai/tree/main/skills/dt-obs-problems。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Dt Obs Problems?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Dt Obs Problems 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Dt Obs Problems 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Dt Obs Problems AI 技能免费吗?

是的。Dynatrace 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇