dt-setup-flutter
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "dt-setup-flutter":https://skillpi.com/zh/skills/deepskill-4c8e72e644173d8b7722d9402ff0277a1e06641f46f60ab88a381b5f81cc0c78。安装前核对上游来源和版本:https://github.com/Dynatrace/dynatrace-for-ai。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
将 Dynatrace Flutter 插件集成到 Flutter 项目:包括依赖设置、配置、SDK 初始化、导航跟踪与验证。触发词示例:"add Dynatrace to Flutter"、"Flutter plugin setup"、"instrument Flutter app"、"integrate Dynatrace Flutter"、"mobile observability Flutter"、"dynatrace_flutter_plugin"。不适用于查询 Flutter RUM 数据或非 Flutter 移动端/服务端配置。
介绍来源: third_party · Dynatrace · 0.0.1 参考来源
SkillPi 解读
- 软件、账号及付费要求
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: dt-setup-flutter
license: Apache-2.0
description: >-
Integrate the Dynatrace Flutter Plugin into a Flutter project — dependency setup, config,
SDK bootstrap, navigation tracking, and verification.
Trigger: "add Dynatrace to Flutter", "Flutter plugin setup", "instrument Flutter app",
"integrate Dynatrace Flutter", "mobile observability Flutter", "dynatrace_flutter_plugin".
Do NOT use for: querying Flutter RUM data (use dt-obs-frontends), non-Flutter mobile setups,
or Dynatrace server-side configuration.Dynatrace Flutter Plugin Integration Skill
Prerequisites
- Flutter SDK installed and
flutteravailable onPATH - An existing Flutter project with a
pubspec.yamlat the project root - A Dynatrace environment with access to Experience Vitals (to obtain
applicationIdandbeaconUrl, or to downloaddynatrace.config.yaml) - Console access to Experience Vitals → Mobile to configure app settings (Data Privacy, Enablement and Cost Control)
dartCLI available (comes with Flutter SDK; used to run the plugin configuration script)
Work through the steps below in order, interacting with the user at each decision point. Read actual project files before suggesting changes — do not assume the current state.
Step 1 — Check for existing dynatrace.config.yaml
Before asking the user anything, check whether dynatrace.config.yaml exists at the project root.
- File exists: Read it, show the
applicationIdandbeaconUrl, and confirm they match the target environment. If correct, run theuserOptIncheck below and skip to Step 3. - File does not exist: Proceed to Step 2.
userOptIn check:
Inspect the file for userOptIn (Android) and DTXUserOptIn (iOS).
- Present on both platforms: Trust the value as-is. If
true, flag Step 7a. Iffalse, skip Step 7a. - Absent from either platform: Ask the user: "Do you have User Opt-In mode enabled or disabled?" (If unsure: Experience Vitals → Mobile → [Your App] → Settings → Data Privacy.) Add the missing value to the relevant platform(s), then flag Step 7a if the final value is
true.
Step 2 — Obtain dynatrace.config.yaml (only if Step 1 found no file)
Ask the user which approach they prefer:
Option A — Download from console (recommended):
- Open their Dynatrace environment
- Navigate to: Experience Vitals → New Frontend → Mobile
- Enter app name and choose Flutter as the platform
- On the Select capability and settings screen, configure monitoring features (Crash reporting, user action monitoring, etc.). User action monitoring can be changed later via Experience Vitals → [App] → Settings → Enablement and Cost Control.
- Download
dynatrace.config.yamland place it at the project root (same level aspubspec.yaml)
Once the file is in place, apply the userOptIn check from Step 1 and flag Step 7a if needed.
Option B — Provide credentials manually:
Read references/config-yaml.md for the full template and conditional blocks. Collect all required values from the user before creating any files, then apply the userOptIn check and flag Step 7a if needed.
Step 3 — Add the dependency
Read pubspec.yaml first.
- Not present: Run:
flutter pub add dynatrace_flutter_plugin - Already under
dependencies: No change — proceed to Step 4. - Under
dev_dependencies: Remove it fromdev_dependencies, then runflutter pub add dynatrace_flutter_plugin. The plugin is required at runtime, including in release builds.
Step 4 — Fetch dependencies
If Step 3 ran flutter pub add, dependencies are already fetched — skip this step.
Otherwise run:
flutter pub get
Confirm success before continuing.
Step 5 — Run the Dynatrace configuration script
dart run dynatrace_flutter_plugin
This reads dynatrace.config.yaml and automatically configures Android Gradle and ios/Runner/Info.plist. No manual native file edits are needed.
Common mistakes to flag and correct:
flutter pub run dynatrace_flutter_plugin— wrong, usedart run dynatrace_flutter_plugin- Manual edits to
build.gradle/build.gradle.ktsorInfo.plist— not needed
Step 6 — Bootstrap the SDK in main.dart
Read lib/main.dart. Replace runApp(...) with Dynatrace().start(...):
import 'package:dynatrace_flutter_plugin/dynatrace_flutter_plugin.dart';
import 'package:flutter/material.dart';
void main() {
Dynatrace().start(const MyApp());
}
Dynatrace().start()callsrunAppinternally — remove any separaterunAppcallWidgetsFlutterBinding.ensureInitialized()is not required by Dynatrace beforestart(), but keep it if your app needs it for other pre-start initialization (for example, plugin or platform setup)- Do not
awaitDynatrace().start()itself; only useawaitfor other app initialization that must complete before callingstart()
Step 7 — Add navigation tracking
In the root MaterialApp or CupertinoApp, add DynatraceNavigationObserver() to navigatorObservers:
MaterialApp(
navigatorObservers: [DynatraceNavigationObserver()],
...
)
CupertinoApp(
navigatorObservers: [DynatraceNavigationObserver()],
...
)
Step 7a — Privacy options call (only if userOptIn: true)
Skip this step if userOptIn was not set to true during Steps 1 or 2.
Read references/user-opt-in.md for the full guidance on DataCollectionLevel, crashReportingOptedIn, and placement options. Ask the user the questions defined there, then apply the call to the relevant file.
Step 8 — HTTP instrumentation (if applicable)
Check pubspec.yaml for the http package dependency. Separately, search the codebase for import 'dart:io' and HttpClient usages. If either is present, apply instrumentation:
| Package | Instrumentation |
|---|---|
http |
Dynatrace().createHttpClient() — replace http.Client() at the construction site |
dart:io HttpClient |
Manual timing via Dynatrace().createWebRequestTiming(...) — no drop-in wrapper exists |
createHttpClient() accepts an optional client: parameter to wrap an existing client instance. Find every http.Client() construction site in the project and replace it with Dynatrace().createHttpClient().
If none are present, note it for when network calls are added.
Step 9 — Post-setup summary
Confirm to the user what is active:
Enabled by default (when userOptIn is false or absent):
- ✅ Crash reporting
- ✅ User action tracking
- ✅ Network monitoring
- ✅ Lifecycle monitoring
- ✅ Auto-start
When
userOptIn: true, all data collection — including crash reporting — is gated on theapplyUserPrivacyOptions(...)call.
Configured during this setup:
- Privacy mode: [userOptIn: true — consent call added / opt-out (SDK default)]
- Navigation tracking: [DynatraceNavigationObserver added]
- HTTP instrumentation: [applied / not applicable yet]
Step 10 — Verification
Read references/verification.md and show the user the verification checklist. If no data appears after 5 minutes, work through the troubleshooting steps in that file.
Reference Files
references/config-yaml.md— Fulldynatrace.config.yamltemplate with Grail and userOptIn conditional blocksreferences/user-opt-in.md—applyUserPrivacyOptionsguidance,DataCollectionLeveloptions, placement optionsreferences/verification.md— Post-setup verification checklist and troubleshooting
External References
- dynatrace_flutter_plugin on pub.dev — package changelog, API docs, and latest version
- Dynatrace Flutter Installation Docs — initial setup docs
版本历史
-
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
-
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
-
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
-
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
-
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 实验室的评测报告。
亮点
- 解决Flutter项目集成Dynatrace的具体痛点,步骤完整,实用性强
- 覆盖依赖设置、配置、SDK初始化、导航跟踪和验证全流程
- 提供清晰的先决条件和分步指导
亮点
- 触发词精准完整,覆盖多种变体
- 边界清晰,明确区分适用和不适用场景
- description位置正确,内容完整
亮点
- Phase/步骤清晰,有出口条件
- 含端到端示例,frontmatter完整
- 单文件≤500行,结构良好
亮点
- 工具来源明确,参数正确
- 覆盖主要异常,不可逆操作有确认机制
- 提供常见错误提示和纠正方法
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 53 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- docs.dynatrace.com
- pub.dev
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
翻译待完成,请参阅来源文档。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。