dt-obs-network-flows — скилл для Claude Code: анализ сетевых потоков
Скилл для Dynatrace: разбирает сетевые потоки из трёх источников и отвечает, кто с кем говорит и где рвутся соединения.
npx skills add Dynatrace/dynatrace-for-ai --skill dt-obs-network-flows -a claude-codeЧто делает dt-obs-network-flows
Скилл закрывает вопросы, на которые не отвечают метрики и трейсы: кто с кем общается, кто гонит больше всего трафика, какие соединения сбрасываются и с каким RTT. Работает поверх трёх источников данных Dynatrace. Первый — потоки OneAgent: связи хост-процесс-под с пирами, лежат как события в бакете Grail default_network_flows. Второй — NetFlow, IPFIX и sFlow с сетевого железа, которые попадают в логи через OpenTelemetry Collector. Третий — облачные flow-логи AWS VPC и Transit Gateway; Azure и GCP пока в планах.
Главное здесь — маршрутизация. Скилл сам решает, к какому источнику отнести вопрос, и подтягивает нужный файл со специфичным DQL. Если поток виден сразу в двух источниках, приоритет у того, где больше контекста об объектах, то есть у OneAgent. Для облачных логов автор советует завести отдельный бакет, а не сваливать их в общий.
Есть и явные границы. Для пропускной способности сетевого интерфейса хоста и потерь пакетов нужен dt-obs-hosts, для частоты запросов и задержек сервисов — dt-obs-services, для синтетического мониторинга — dt-obs-ext-monitors. Скилл про потоки, и подменять им остальное не выйдет. Разрешение IP обратно в отслеживаемые объекты вынесено в общий файл, его используют и OneAgent-потоки, и NetFlow.
Какие задачи решает
- найти хосты, которые генерируют больше всего трафика
- построить карту зависимостей между подами и внешними адресами
- разобраться, почему соединение сбрасывается или уходит в таймаут
- посчитать долю ретрансмиссий и RTT по конкретному разговору
- сопоставить сырой IP:port с отслеживаемым хостом, процессом или сервисом
Примеры запросов агенту
- покажи топ talkers по трафику за последний час
- какие поды общаются с внешними адресами и на каких портах
- разбери сбросы соединений между этими двумя хостами
Как установить dt-obs-network-flows
1Через Skills CLI (Vercel)
npx skills add Dynatrace/dynatrace-for-ai --skill dt-obs-network-flows -a claude-code2Вручную: положить файлы
~/.claude/skills/dt-obs-network-flows/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/dt-obs-network-flows/
1Через Skills CLI (Vercel)
npx skills add Dynatrace/dynatrace-for-ai --skill dt-obs-network-flows -a codex2Вручную: положить файлы
.agents/skills/dt-obs-network-flows/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Dynatrace/dynatrace-for-ai --skill dt-obs-network-flows -a cursor2Вручную: положить файлы
.cursor/skills/dt-obs-network-flows/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Dynatrace/dynatrace-for-ai dt-obs-network-flows2Вручную: положить файлы
.github/skills/dt-obs-network-flows/SKILL.md1Через Skills CLI (Vercel)
npx skills add Dynatrace/dynatrace-for-ai --skill dt-obs-network-flows -a gemini-cli2Командой платформы
gemini skills install https://github.com/Dynatrace/dynatrace-for-ai --path skills/dt-obs-network-flowsВручную: положить файлы
.devin/skills/dt-obs-network-flows/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add Dynatrace/dynatrace-for-ai --skill dt-obs-network-flows -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора29
Похожие
Рядом в теме «DevOps и инфраструктура»
Всё по теме «DevOps и инфраструктура» →Вопросы о dt-obs-network-flows
Как установить dt-obs-network-flows в Claude?
Выполните npx skills add Dynatrace/dynatrace-for-ai --skill dt-obs-network-flows -a claude-code. После этого файл скилла окажется по пути ~/.claude/skills/dt-obs-network-flows/SKILL.md.
Что делает dt-obs-network-flows?
Разбирает сетевые потоки в Dynatrace из трёх источников и отвечает на вопросы про связи между объектами, топ talkers, здоровье соединений и разрешение пиров в отслеживаемые сущности.
Чем этот скилл отличается от dt-obs-hosts?
Потоки — его тема. Пропускная способность сетевого интерфейса хоста и потери пакетов остаются за dt-obs-hosts, а частота запросов и задержки сервисов — за dt-obs-services.
Исходный текст
SKILL.md · Apache-2.0
--- name: dt-obs-network-flows description: >- Network flow analysis in Dynatrace across three sources: OneAgent flows (host/process/pod-to-peer connections in the `default_network_flows` Grail bucket), NetFlow/IPFIX/sFlow (via an OpenTelemetry Collector), and cloud flow logs (AWS VPC / Transit Gateway; Azure and GCP planned). Use to analyze traffic between entities, find top talkers by bandwidth, map communication dependencies, investigate connection health (resets, timeouts, retransmissions, RTT), and resolve peers to monitored entities. Routes each question to the right source; source-specific DQL lives in the reference files. Trigger: "network flows", "top talkers", "traffic between hosts", "connection resets", "TCP retransmissions", "RTT", "pod connections", "network dependencies", "NetFlow", "IPFIX", "sFlow", "VPC flow logs", "cloud network traffic". Do NOT use for host NIC throughput or packet drops (use dt-obs-hosts), service request rate or latency (use dt-obs-services), or synthetic/uptime monitoring (use dt-obs-ext-monitors). license: Apache-2.0 --- # Network Flows Skill Analyze network traffic in Dynatrace across three flow data sources. This skill covers the **use cases** network flows enable and routes each question to the right source and reference file. The detailed, source-specific DQL lives in the reference files. ## What Network Flows Tell You Network flow data answers questions that metrics and traces cannot: - **Who talks to whom** — communication dependencies between hosts, processes, pods, services, and external endpoints - **Top talkers** — which entities generate the most traffic, by bytes or connection count - **Connection health** — resets, timeouts, retransmissions, and round-trip time (RTT) per conversation - **Traffic composition** — protocol (TCP/UDP), destination ports, direction (client vs server) - **Peer resolution** — mapping raw IP:port peers back to monitored entities (host, process, pod, service) or flagging them as external --- ## The Three Flow Sources Choose the source based on **where the traffic is** and **what is capturing it**. When more than one applies, prefer the source with the richest entity context (usually OneAgent). | Source | Captured by | Data location | Entity context | Use when | |---|---|---|---|---| | **OneAgent flows** | OneAgent network agent on the host | **events** in the `default_network_flows` Grail bucket | Rich — the capturing entity (client or server) resolved to host / process / pod smartscape IDs; the remote peer as IP:port | Traffic to/from OneAgent-monitored hosts, processes, or Kubernetes pods. **The default and most detailed source.** | | **NetFlow / IPFIX / sFlow** | Network devices (switches, routers), ingested via an OpenTelemetry Collector | **logs** (`otel.scope.name == "otelcol/netflowreceiver"`; recommend routing to a dedicated bucket) | Device/interface level — raw IPs, exporter, interfaces; no smartscape entities | Traffic seen by network hardware. Covers east-west and north-south flows at the network layer. | | **Cloud flow logs** | Cloud provider (AWS VPC / TGW; Azure, GCP not yet documented) | **logs** (`log.type == "aws.vpc"` / `"aws.tgw"`; recommend routing to a dedicated bucket) | Cloud resource level — VPC / subnet / AZ / ENI, TGW attachment; raw IPs, no smartscape entities | Traffic within/across cloud networks, including managed services and resources without an agent. | ### Routing logic 1. **Is the traffic to/from a OneAgent-monitored host, process, or pod?** → OneAgent flows. See [references/oneagent-flows/oneagent-flows.md](references/oneagent-flows/oneagent-flows.md). 2. **Is it device-level or from unmonitored hosts?** → NetFlow. See [references/netflow/netflow.md](references/netflow/netflow.md). 3. **Is it cloud-network / managed-service traffic?** → Cloud flow logs (per provider). AWS: [references/cloud-flows/aws/aws.md](references/cloud-flows/aws/aws.md). > The three sources overlap. A pod-to-pod flow may appear in both OneAgent flows (with full pod context) and cloud flow logs (as ENI-to-ENI). Lead with the source that carries the entity context the user needs, and mention the alternative only if the primary source has no data. --- ## Related Network Data in Dynatrace Network flows are one part of Dynatrace's network observability. Route to these when the question is not about flows: | The user wants… | Use | |---|---| | Host NIC throughput, link utilization, packet drops/errors | [dt-obs-hosts](../dt-obs-hosts/SKILL.md) → `references/host-metrics.md` (Network Monitoring section) | | Process-level network I/O and TCP connection quality metrics | [dt-obs-hosts](../dt-obs-hosts/SKILL.md) → `references/process-monitoring.md` | | Kubernetes pod connections and cluster network topology | [dt-obs-kubernetes](../dt-obs-kubernetes/SKILL.md) | | Service request rate, latency, error rate | [dt-obs-services](../dt-obs-services/SKILL.md) | | External / synthetic uptime and network-availability monitors | [dt-obs-ext-monitors](../dt-obs-ext-monitors/SKILL.md) | | Network devices — switches, routers, firewalls (SNMP/monitoring) | `dt-obs-network-devices` *(planned — not yet available)* | > A future macro **`dt-obs-network`** skill may connect all network concepts (devices, hosts/process/pod metrics, flows, availability monitors, cloud network monitoring). Until it exists, this skill carries the flow-specific cross-links above. --- ## Reference Files - [references/oneagent-flows/oneagent-flows.md](references/oneagent-flows/oneagent-flows.md) — **Validated.** Data model, field reference, and DQL for the `default_network_flows` bucket: top talkers, traffic maps, protocol/port breakdowns, connection health (resets/timeouts/retransmissions/RTT), bandwidth in bps, and which side of a flow is the peer. - [references/peer-resolution/peer-resolution.md](references/peer-resolution/peer-resolution.md) — **Validated.** Shared Smartscape lookups that resolve a raw flow IP (and optional port) to a monitored host, process, Kubernetes pod, or service (host → pod → service → external). Used by both OneAgent flows and NetFlow. - [references/oneagent-flows/configuration.md](references/oneagent-flows/configuration.md) — Enabling and tuning `builtin:network-connection-monitoring` (the setting that produces OneAgent flow data). - [references/netflow/netflow.md](references/netflow/netflow.md) — **Validated.** NetFlow/IPFIX/sFlow ingested via an OpenTelemetry Collector into `logs`: data model, direction semantics (unidirectional, no client/server role), and DQL for top conversations/talkers/ports, protocol breakdowns, traffic-over-time, and per-exporter/per-interface views. - [references/netflow/configuration.md](references/netflow/configuration.md) — OTel Collector `netflow`-receiver ingestion path and the dedicated-bucket routing recommendation for netflow logs. - [references/cloud-flows/aws/aws.md](references/cloud-flows/aws/aws.md) — **Validated (AWS).** AWS VPC Flow Logs and Transit Gateway flow logs ingested into `logs`: `aws.vpc`/`aws.tgw` field model (incl. `pkt_srcaddr` vs `srcaddr`, `log_status` filtering), and DQL for top conversations/talkers/ports, rejected-traffic (security), egress `traffic_path`, per-VPC/subnet/AZ, inter-VPC, traffic-over-time, and TGW packet-loss. Also AWS entity resolution — ENI/instance by id or IP-in-`aws.object` — for agentless resources the shared peer lookups miss. - [references/cloud-flows/aws/configuration.md](references/cloud-flows/aws/configuration.md) — Amazon Data Firehose ingestion path for AWS flow logs and the dedicated-bucket routing recommendation. *(Azure NSG/VNet and GCP VPC flow logs are not yet documented; add them as sibling `cloud-flows/<provider>/` folders when tenant data is available.)*
© Dynatrace · Apache-2.0 · Dynatrace/dynatrace-for-ai