dt-js-runtime

Dynatrace 服务端 JavaScript 运行时:涵盖函数契约、运行时限制、Web API、Node.js 模块、带凭据保险库的 fetch 以及 @dynatrace-sdk/* 目录相关内容。

仓库最近推送
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-js-runtime":https://skillpi.com/zh/skills/deepskill-f35ba97af4df634d49fc6ae4829083ee24f8eaab814e790a46991774e3cf1b0f。安装前核对上游来源和版本:https://github.com/Dynatrace/dynatrace-for-ai。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

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

安装实测待补充

Dynatrace 服务端 JavaScript 运行时:涵盖函数契约、运行时限制、Web API、Node.js 模块、带凭据保险库的 fetch 以及 @dynatrace-sdk/* 目录相关内容。

0 下载

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

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: dt-js-runtime
description: Dynatrace server-side JS runtime — function contract, runtime limits, Web APIs, Node.js modules, fetch with credential vault, and the @dynatrace-sdk/* catalog.
license: Apache-2.0

Dynatrace JavaScript Runtime

The Dynatrace JS runtime is a server-side AppEngine sandbox that executes JavaScript/TypeScript.

Function contract

Every entry point must export a default async function:

export default async function () {
  // ...
  return result;
}

ES module syntax required. TypeScript accepted (type annotations, interfaces, generics). No other export shape is supported.

References

Start here, then load only the file you need.

File When to load
references/limits-and-restrictions.md Timeout / memory / I/O quotas; what's forbidden (eval, WebSocket, sockets, filesystem)
references/apis-and-modules.md Which Web APIs and Node.js compat modules are available (fetch, crypto, streams, buffer, …)
references/fetch.md Calling internal /platform/... APIs or external URLs, credential vault, outbound allowlist
references/sdk.md Any @dynatrace-sdk/* package — the index routes you to the right per-SDK file

Running a function with dtctl

Use dtctl exec function to run JS runtime code without deploying an app.

# Run inline code
dtctl exec function --code 'export default async function() { return "hello" }'

# Run from file
dtctl exec function -f script.js

# Pass JSON input — the parsed object is the function's argument
dtctl exec function -f script.js --payload '{"key":"value"}'

The function may accept an optional parameter. --payload is parsed and passed as that argument directly — it is not wrapped in an event.payload field:

export default async function(payload) {
  // with --payload '{"key":"value"}', payload is {"key": "value"}
  return payload.key;
}

Load the dynatrace-control skill for authentication setup, context switching, and the full exec function reference.

版本历史

  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 实验室的评测报告。

场景价值82/100

亮点

  • 提供 Dynatrace JS 运行时的完整技术文档,涵盖函数契约、运行时限制、可用 API 与模块
  • 面向开发者解决实际集成与调试需求,实用性强
触发精准92/100

亮点

  • description 明确描述核心功能,frontmatter 完整,触发词覆盖合理
结构规范75/100

待提升项

  • 缺少 When to Use/示例章节 原报告严重程度:轻微

    文档结构清晰但未提供明确的 'When to Use' 章节和端到端完整示例

    改进建议:建议补充 'When to Use' 章节和一个完整函数从编写到运行的闭环示例,提升用户理解

亮点

  • 文档结构清晰,分章节介绍,包含代码示例和表格,frontmatter 完整
执行可靠95/100

亮点

  • 文档为说明性内容,无执行风险,引用文件说明清晰
证据可验 (前四项均值)86/100

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

正文静态检测

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

正文未命中当前规则。

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

权限与使用前检查

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

  • 账号、密钥或授权

    使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。

    主文档提及 · 第 3, 32 行

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

安全评级与访问范围

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

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