SKILL

applicationinsights-web-ts

使用 Application Insights JavaScript SDK(@microsoft/applicationinsights-web)为浏览器/Web 应用添加监测。用于真实用户监控(RUM)——页面浏览、点击、AJAX/fetch 依赖、异常、自定义事件,以及与后端 OpenTelemetry 追踪关联的浏览器端 GenAI 智能体追踪。涵盖 SDK Loader Script 和 npm 配置、框架扩展(React、React Native、Angular)、点击分析、遥测初始化器,以及浏览器发出的智能体/工具/模型 span 的 OTel GenAI 语义约定。

机器翻译
查看英文原文

Instrument browser/web apps with the Application Insights JavaScript SDK (@microsoft/applicationinsights-web). Use for Real User Monitoring (RUM) — page views, clicks, AJAX/fetch dependencies, exceptions, custom events, and browser-side GenAI agent traces correlated to backend OpenTelemetry traces. Covers SDK Loader Script and npm setup, framework extensions (React, React Native, Angular), Click Analytics, telemetry initializers, and OTel GenAI semantic conventions for agent/tool/model spans emitted from the browser.

适用对象:云服务、运维与安全。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Application Insights JavaScript SDK (Web) for TypeScript
  • Before Implementation
  • Packages
  • Installation
  • Connection String
  • Quick Start (npm)
  • Quick Start (SDK Loader Script)
  • Core Tracking APIs

Real User Monitoring (RUM) for browser apps with @microsoft/applicationinsights-web. Auto-collects page views, AJAX/fetch dependencies, unhandled exceptions, and (with the Click Analytics plugin) clicks. Supports custom events, metrics, and GenAI agent traces that follow OpenTelemetry GenAI semantic conventions and correlate to backend spans via W3C Trace Context. Distinct from azure-monitor-opentelemetry-ts, which is for Node.js server apps. This skill is for browser/web code (and React Native). Search microsoft-docs MCP for current API patterns: Query: "Application Insights JavaScript SDK setup" Query: "Application Insights JavaScript SDK configuration" Query: "Application Insights JavaScript framework extensions React Angular" Verify package version: npm view @microsoft/applicationinsights-web version | Package | Purpose | | --- | --- | | @microsoft/applicationinsights-web | Core RUM SDK (page views, AJAX, exceptions). | | @microsoft/applicationinsights-clickanalytics-js | Auto-collect click telemetry. | | @microsoft/applicationinsights-react-js | React plugin (router instrumentation, hooks, HOC, ErrorBoundary). | | @microsoft/applicationinsights-react-native | React Native plug

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
microsoft/skills
源文件
.github/plugins/azure-sdk-typescript/skills/applicationinsights-web-ts/SKILL.md
固定版本
9287b443662d2433c85621c7325ee72a0ce499b5
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:Microsoft Skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-10T19:02:06.516Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。