Dt Obs Kubernetes 标志

Dt Obs Kubernetes

组织
Dynatrace
dt-obs-kubernetes

Kubernetes 集群、Pod、节点和工作负载监控。分析 K8s 运行状况、资源优化、Pod 故障、OOMKill、调度或安全态势时使用。查询 Kubernetes 运维事件,例如 Pod 重启、OOM 事件、驱逐和集群事件历史时,也请使用。触发词:“Kubernetes pods”“K8s cluster health”“OOMKill”“pod restarts”“container CPU”“namespace resource usage”“over-provisioned pods”“privileged containers”“pod placement”“K8s node capacity”“running containers by cluster”“workload scheduling”“pod evictions”“K8s labels and annotations”“kubernetes events”“pod restart events”“OOM events”“K8s event history”。不要用于解释现有查询、回答产品文档问题、查询 AWS 专属资源、服务级 RED 指标、分布式追踪或日志分析——请改用相关技能。

Add to TypingMind

概览

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

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

  • 兼容任何大语言模型

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

  • 8 个附带文件

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

  • 开源

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

安装

在 TypingMind 中安装 Dt Obs Kubernetes 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-kubernetes
  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-kubernetes .claude/skills/dt-obs-kubernetes
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Infrastructure Kubernetes

Monitor and analyze Kubernetes infrastructure using Dynatrace DQL. Query cluster resources, monitor workload health, analyze pod placement, optimize costs, and assess security posture.

When to Use This Skill

  • Monitoring Kubernetes cluster health and capacity
  • Analyzing pod and container resource utilization
  • Investigating pod failures, OOMKills, evictions, or crash loops
  • Debugging degraded deployments, stuck rollouts, or node pressure
  • Optimizing Kubernetes resource costs
  • Assessing security posture and compliance
  • Troubleshooting workload scheduling and placement
  • Auditing ingress routing and network policies

Knowledge Base Structure

Core Monitoring (Start Here)

  1. Cluster Inventory → references/cluster-inventory.md - Clusters, namespaces, resource distribution
  2. Node Monitoring - Node capacity, CPU/memory usage, pod density
  3. Pod Monitoring - Pod CPU, memory, lifecycle events
  4. Workload Monitoring - Deployment, StatefulSet, DaemonSet resources

Advanced Topics

  1. Configuration Analysis → references/labels-annotations.md - Parse k8s.object, labels, annotations
  2. Scheduling & Placement → references/pod-node-placement.md - Node selectors, affinity, taints, HA
  3. Cost Optimization - Right-sizing, waste detection, efficiency scoring
  4. Security & Compliance - Privileged containers, security contexts

Key Concepts

Entity Types

Workloads: K8S_DEPLOYMENT, K8S_STATEFULSET, K8S_DAEMONSET, K8S_JOB, K8S_CRONJOB, K8S_HORIZONTALPODAUTOSCALER
Infrastructure: K8S_CLUSTER, K8S_NAMESPACE, K8S_NODE, K8S_POD
Configuration: K8S_SERVICE, K8S_CONFIGMAP, K8S_SECRET, K8S_PERSISTENTVOLUMECLAIM, K8S_PERSISTENTVOLUME, K8S_INGRESS, K8S_NETWORKPOLICY

Note: HPA, Job, CronJob, and configuration entity types are listed for inventory queries only. For HPA scaling analysis see references/workload-health.md; for PVC/PV see references/pv-pvc.md; for Ingress/NetworkPolicy see the corresponding reference files.

Query Types

smartscapeNodes - Query K8s entities (current state, no time range needed):

dql
smartscapeNodes K8S_POD
| filter k8s.namespace.name == "production"
| fields k8s.cluster.name, k8s.pod.name

timeseries - Monitor metrics over time (always specify a from: range):

dql
timeseries cpu = sum(dt.kubernetes.container.cpu_usage),
  by: {k8s.pod.name, k8s.namespace.name},
  from: now()-1h
| fieldsAdd avg_cpu = arrayAvg(cpu)

timeseries returns each metric as a time-bucket array. To collapse it to a scalar in a downstream fieldsAdd, use arrayAvg(series) or arraySum(series) — calling avg() or sum() on a series field outside the timeseries {} block is not supported.

fetch logs - Analyze log events:

dql
fetch logs
| filter k8s.namespace.name == "production" and loglevel == "ERROR"

Core Fields

  • k8s.cluster.name, k8s.namespace.name, k8s.pod.name, k8s.node.name
  • k8s.workload.name, k8s.workload.kind, k8s.container.name
  • k8s.object - Full JSON configuration for deep inspection
  • tags[label] - Access labels and annotations

k8s.workload.kind values (always lowercase in DT — not Pascal-case as in the K8s API): "deployment", "statefulset", "daemonset", "replicaset", "job", "cronjob"

k8s.object availability:

Entity typek8s.object available?
K8S_PODYes
K8S_NAMESPACEYes
K8S_NODEYes
Workload types (K8S_DEPLOYMENT, etc.)Yes
K8S_CLUSTERNo

Available Metrics

CPU: dt.kubernetes.container.cpu_usage, cpu_throttled, limits_cpu, requests_cpu
Memory: dt.kubernetes.container.memory_working_set, limits_memory, requests_memory
Operations: dt.kubernetes.container.restarts, oom_kills
Node: dt.kubernetes.node.pods_allocatable, cpu_allocatable, memory_allocatable, dt.kubernetes.pods

Aggregation rule for requests/limits: Always use sum() — never avg() — when aggregating requests_cpu, limits_cpu, requests_memory, or limits_memory. avg() returns a per-container average and silently undercounts multi-container pods and multi-replica workloads. For DaemonSets (one pod per node), this error is proportional to cluster size.

Entity Disambiguation

K8S_POD vs CONTAINER: these are different entity types in Dynatrace.

  • K8S_POD — K8s-native entities with k8s.object JSON, scheduling state, conditions, and K8s metrics. Use this skill.
  • CONTAINER — Host-level container inventory (image, lifetime, host assignment). Use dt-obs-hosts skill instead.

The smartscape edge is CONTAINER --(is_part_of)--> K8S_POD. To reach containers from a pod, traverse backward:

dql
smartscapeNodes K8S_POD
| filter k8s.namespace.name == "<namespace>"
| traverse edgeTypes: {is_part_of}, targetTypes: {CONTAINER}, direction: backward, fieldsKeep: {id}
| fields k8s.cluster.name, k8s.namespace.name, k8s.pod.name, container.id=id

Service → K8S_POD Correlation

No direct smartscape edge exists between SERVICE and K8S_POD. The correlation key is the shared dimension k8s.workload.name. See Service → Pod Drill-Down in references/pod-debugging.md for the full two-step pattern.

Common Workflows

1. Cluster Health Check

List all clusters:

dql
smartscapeNodes K8S_CLUSTER
| fields k8s.cluster.name, k8s.cluster.version, k8s.cluster.distribution

Check node capacity:

dql
timeseries {
  current_pods = avg(dt.kubernetes.pods),
  max_pods = avg(dt.kubernetes.node.pods_allocatable)
}, by: {k8s.node.name, k8s.cluster.name},
from: now()-1h
| fieldsAdd pod_capacity_pct = (arrayAvg(current_pods) / arrayAvg(max_pods)) * 100
| filter pod_capacity_pct > 80

Identify pods in non-Running state:

dql
smartscapeNodes K8S_POD
| parse k8s.object, "JSON:config"
| fieldsAdd phase = config[status][phase]
| filter not(in(phase, {"Running", "Succeeded"}))
| fields k8s.cluster.name, k8s.namespace.name, k8s.pod.name, phase

Succeeded is a healthy terminal phase for completed Job pods — excluding it avoids false positives. Adjust if you specifically want to audit completed Jobs.

2. Resource Optimization

Pod-level — find over-provisioned pods (usage < 30%):

dql
timeseries {
  cpu_usage = sum(dt.kubernetes.container.cpu_usage),
  cpu_requests = sum(dt.kubernetes.container.requests_cpu)
}, by: {k8s.pod.name, k8s.namespace.name, k8s.cluster.name},
from: now()-7d
| fieldsAdd usage_pct = (arrayAvg(cpu_usage) / arrayAvg(cpu_requests)) * 100
| filter usage_pct < 30 and arrayAvg(cpu_requests) > 0

Workload-level — aggregate across all replicas (required for correct DaemonSet accounting):

dql
timeseries {
  cpu_usage = sum(dt.kubernetes.container.cpu_usage),
  cpu_requests = sum(dt.kubernetes.container.requests_cpu)
}, by: {k8s.workload.name, k8s.workload.kind, k8s.namespace.name, k8s.cluster.name},
from: now()-7d
| fieldsAdd
    avg_usage = arrayAvg(cpu_usage),
    avg_requests = arrayAvg(cpu_requests)
| fieldsAdd usage_pct = (avg_usage / avg_requests) * 100
| filter usage_pct < 30 and avg_requests > 0
| sort usage_pct asc

Use sum() for both cpu_usage and cpu_requests at every aggregation level. A DaemonSet running on 50 nodes has 50× the per-pod request total; avg() would report 1/50th of the true reserved capacity.

Identify containers without limits:

dql
smartscapeNodes K8S_POD
| parse k8s.object, "JSON:config"
| expand container = config[spec][containers]
| fieldsAdd
    container_name = container[name],
    cpu_limit = container[resources][limits][cpu],
    memory_limit = container[resources][limits][memory]
| filter isNull(cpu_limit) or isNull(memory_limit)

3. Troubleshooting Pod Issues

Pod troubleshooting benefits from combining metrics (timeseries) with Kubernetes events (event stream) for a complete picture.

Metrics-Based Troubleshooting

Find pods with OOMKills:

dql
timeseries oom_kills = sum(dt.kubernetes.container.oom_kills),
  by: {k8s.pod.name, k8s.namespace.name, k8s.cluster.name},
  from: now()-1h
| filter arraySum(oom_kills) > 0
| fieldsAdd total_oom_kills = arraySum(oom_kills)
| sort total_oom_kills desc

Analyze pod restart patterns:

dql
timeseries restarts = sum(dt.kubernetes.container.restarts),
  by: {k8s.pod.name, k8s.namespace.name, k8s.cluster.name},
  from: now()-1h
| fieldsAdd total_restarts = arraySum(restarts)
| filter total_restarts > 5
Event-Based Troubleshooting

For operational events (pod restarts, OOM kills, evictions, scheduling failures), Kubernetes events provide richer context than metrics alone — including event reasons, messages, and timestamps.

When to use Kubernetes events over metrics:

  • User asks about recent operational events ("show me pod restart events")
  • User wants event details like reasons and messages
  • User asks about events in a specific time window ("last 48 hours")
  • User wants to correlate events with root causes

Kubernetes events are available through the get-events-for-kubernetes-cluster tool (a Dynatrace MCP tool). Call it with findAllK8Events: true to get events for all clusters, or findAllK8Events: false with either clusterId (k8s.cluster.uid) or kubernetesEntityId (dt.entity.kubernetes_cluster) to scope to one cluster. Use history to set the lookback window (e.g. "1h", "24h", "7d"; max "60d"). Prefer this tool when the user asks about OOM events, pod restarts, evictions, or cluster-wide event history. Fall back to the fetch events DQL pattern below if the tool is unavailable.

Important: distinguish event types when filtering results. Kubernetes events cover many categories. When the user asks about a specific event type, filter the results accordingly — do not report unrelated events:

User Asks AboutRelevant Event ReasonsNOT Related
Pod restartsBackOff, CrashLoopBackOff, KillingReadiness probe failures, CPU throttling
OOM eventsOOMKilling, OOMKilledMemory pressure warnings
EvictionsEvicted, PreemptingNode pressure
Scheduling failuresFailedScheduling, UnschedulableResource quotas

For a complete answer, combine both approaches:

  1. Use the events tool to get the event details (what happened, when, why)
  2. Use timeseries metrics to show the quantitative impact (how many restarts, OOM kill counts over time)
Fetch Kubernetes Events via DQL

Pod restart and operational events can also be queried via DQL from the events table:

dql
fetch events
| filter event.kind == "K8S_EVENT"
| filter event.type == "Warning"
| fields timestamp, k8s.cluster.name, k8s.namespace.name, k8s.pod.name,
    event.reason, event.message
| sort timestamp desc
| limit 50

Filter for specific event reasons:

dql
fetch events
| filter event.kind == "K8S_EVENT"
| filter in(event.reason, {"OOMKilling", "BackOff", "Evicted", "FailedScheduling"})
| fields timestamp, k8s.cluster.name, k8s.namespace.name, k8s.pod.name,
    event.reason, event.message
| sort timestamp desc

Field names in fetch events: Use event.reason and event.message — not dt.kubernetes.event.reason. The dt.kubernetes.* prefix is for timeseries metrics, not the events table. Queries using the wrong prefix return zero results.

4. Security Assessment

Identify privileged containers:

dql
smartscapeNodes K8S_POD
| parse k8s.object, "JSON:config"
| expand container = config[spec][containers]
| fieldsAdd
    container_name = container[name],
    privileged = container[securityContext][privileged]
| filter privileged == true

Find containers running as root:

dql
smartscapeNodes K8S_POD
| parse k8s.object, "JSON:config"
| expand container = config[spec][containers]
| fieldsAdd
    container_name = container[name],
    run_as_user = container[securityContext][runAsUser],
    run_as_non_root = container[securityContext][runAsNonRoot]
| filter (isNull(run_as_user) or run_as_user == 0) and run_as_non_root != true

5. Scheduling Analysis

Verify pod distribution (HA compliance) for Deployments and StatefulSets:

dql
smartscapeNodes K8S_POD
| filter in(k8s.workload.kind, {"deployment", "statefulset"})
| summarize pod_count = count(),
            node_count = countDistinct(k8s.node.name),
            by: {k8s.cluster.name, k8s.namespace.name, k8s.workload.name, k8s.workload.kind}
| fieldsAdd ha_compliant = node_count > 1
| filter pod_count >= 2 and not ha_compliant

DaemonSets are intentionally excluded — each pod runs on exactly one node by design, so single-node placement is not an HA violation for them.

6. DAVIS Problems affecting K8s Entities

Find active DAVIS problems affecting K8s entities:

dql
fetch dt.davis.problems, from:now() - 2h
| filter not(dt.davis.is_duplicate) and event.status == "ACTIVE"
| filter iAny(startsWith(smartscape.affected_entities[][type], "K8S_"))
| fields display_id, event.name, event.category, affected_entity_ids = smartscape.affected_entities[][id]

smartscape.affected_entities is a record array; each record has id, type, and name. Use [][id] to get the array of Smartscape IDs to look up the affected entity, or [id] after expand smartscape.affected_entities. Without a preceding expand, [id] returns null silently. A filter cannot take a bare iterative expression, so wrap it in iAny(...).

Best Practices

Choosing the Right Data Source

User QuestionBest ApproachWhy
"Show me OOM events"Events tool + metricsEvents give reasons/messages; metrics show trends
"Show me pod restart events"Events tool + timeseries metricsEvents reveal the reason (BackOff, Killing, CrashLoopBackOff); dt.kubernetes.container.restarts metric gives the actual restart counts
"How many pod restarts?"Timeseries metricsQuantitative data over time
"What happened to my pods in the last 48h?"Events toolOperational event history with context
"Which pods are using the most CPU?"Timeseries metricsResource utilization analysis
"List all clusters/namespaces"smartscapeNodesEntity discovery and inventory
"Are there scheduling failures?"Events toolEvent reasons explain why
"Which workloads are over-provisioned?"Timeseries metrics, workload-levelMust use sum() for requests; group by k8s.workload.name

Time Ranges

  • smartscapeNodes — no time range; always returns current entity state.
  • timeseries — always add from: now()-<window>. Default window is system-determined and often too short for trend analysis. Recommended defaults: now()-1h for recent spikes, now()-24h for daily patterns, now()-7d for weekly trends.
  • fetch events — adding from: is recommended for reproducible results; without it the system default window applies.
  • fetch dt.davis.problems — use from: now()-2h for active problems; extend to now()-7d to include recently closed problems.

Query Performance

  1. Filter early - Apply cluster/namespace filters immediately
  2. Use specific entity types - Avoid wildcards
  3. Limit result sets - Use limit for exploration
  4. Cache cluster lists - Store in variables
  5. Omit k8s.object unless needed - Parsing it increases query cost significantly

Monitoring Recommendations

  1. Set resource limits on all containers
  2. Monitor OOMKills and adjust memory limits
  3. Track CPU throttling and adjust CPU limits
  4. Review resource efficiency regularly (target 70-80%)
  5. Implement security best practices (non-root, read-only filesystem)
  6. Use specific image tags (avoid :latest)

Configuration Standards

  1. Use labels for organization (app, environment, team)
  2. Set resource requests and limits
  3. Configure health checks (liveness/readiness probes)
  4. Use TLS for all ingress resources
  5. Document with annotations

Troubleshooting

ProblemCauseSolution
No pod data returnedWrong entity type or missing cluster filterUse K8S_POD (not POD); add k8s.cluster.name filter
k8s.object parsing errorsComplex JSON structureUse parse k8s.object, "JSON:config" then access nested fields
Pod network metrics unavailableNot available in GrailUse service mesh metrics or host-level network metrics
Large result setsNo time range or cluster filterAdd time range and filter by cluster/namespace early
Missing labels in outputLabels accessed incorrectlyUse tags[label_name] to access labels
k8s.workload.kind filter returns no resultsValue is Pascal-case (e.g. "Deployment")Values are lowercase in DT: "deployment", "statefulset", "daemonset"

Limitations

Unavailable Metrics:

  • Pod network metrics (rx_bytes, tx_bytes) are NOT available in Grail
  • Workaround: Use service mesh metrics or host-level network metrics

Query Considerations:

  • Minimize result set size: Do not include the k8s.object field if not necessary
  • Keep result set as simple as possible: Parsing k8s.object increases query complexity
  • Large clusters may require pagination or time-range limits
  • Some K8s status fields update asynchronously

When to Load References

Load cluster-inventory.md when:

  • Performing cluster, namespace, or resource distribution analysis
  • Auditing workload counts across clusters

→ references/cluster-inventory.md

Load labels-annotations.md when:

  • Filtering by labels or annotations
  • Parsing k8s.object for detailed configuration inspection

→ references/labels-annotations.md

Load pod-node-placement.md when:

  • Analyzing scheduling constraints (affinity, taints, tolerations)
  • Verifying HA compliance and pod distribution

→ references/pod-node-placement.md

Load pod-debugging.md when:

  • Investigating pod exit codes, crash loops, or init container failures
  • Diagnosing image pull errors or service-to-pod connectivity issues
  • Drilling down from a service problem to pod-level details

→ references/pod-debugging.md

Load workload-health.md when:

  • Investigating degraded deployments or stuck rollouts
  • Checking node conditions, CPU throttling, or HPA scaling
  • Analyzing StatefulSet ordering or DaemonSet coverage

→ references/workload-health.md

Load pv-pvc.md when:

  • Working with persistent storage (PVC/PV lifecycle, orphaned volumes)
  • Checking StorageClass configurations

→ references/pv-pvc.md

Load ingress.md when:

  • Analyzing ingress routing rules or TLS certificates
  • Auditing ingress controller configurations

→ references/ingress.md

Load network-policies.md when:

  • Listing or auditing network policies
  • Checking namespace isolation configurations

→ references/network-policies.md

References

Related Skills

  • dt-obs-problems — For problems associated with Kubernetes clusters (use dt.smartscape_source.id with K8S_ prefix filters)
  • dt-dql-essentials — Core DQL syntax and query structure
  • dt-obs-hosts — Host-level metrics for K8s nodes

附带文件

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

常见问题

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

Kubernetes 集群、Pod、节点和工作负载监控。分析 K8s 运行状况、资源优化、Pod 故障、OOMKill、调度或安全态势时使用。查询 Kubernetes 运维事件,例如 Pod 重启、OOM 事件、驱逐和集群事件历史时,也请使用。触发词:“Kubernetes pods”“K8s cluster health”“OOMKill”“pod restarts”“container CPU”“namespace resource usage”“over-provisioned pods”“privileged containers”“pod placement”“K8s node capacity”“running containers by cluster”“workload scheduling”“pod evictions”“K8s labels and annotations”“kubernetes events”“pod restart events”“OOM events”“K8s event history”。不要用于解释现有查询、回答产品文档问题、查询 AWS 专属资源、服务级 RED 指标、分布式追踪或日志分析——请改用相关技能。

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

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

如何在 TypingMind 中安装 Dt Obs Kubernetes?

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

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

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

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

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

Dt Obs Kubernetes AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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