一键导入
query-app-insights
Query Azure Application Insights telemetry data for command usage, extension activity, and performance metrics
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Query Azure Application Insights telemetry data for command usage, extension activity, and performance metrics
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Enforces Effect-TS patterns for services, errors, layers, and atoms. Use when writing code with Effect.Service, Schema.TaggedError, Layer composition, or effect-atom React components.
Consume the salesforcedx-vscode-services extension API. Use when an extension depends on salesforcedx-vscode-services and you are registering commands, calling its services (Workspace, Connection, Project, Settings, FS, Channel, Media, prompts), watching files/config/target-org, or wiring the AllServicesLayer/runtime in extensionProvider.ts.
package.json conventions for this repo. Use when editing/reviewing a package.json — name, types, browser, files, dependencies, devDependencies, packaging, scripts, or vscode contributes.
Prefer vscode-uri over node:path. Use when .ts files in /src import node:path or use path.join/basename/dirname/resolve, URI.file, or memfs paths.
Add custom SVG icons to salesforcedx-vscode-services for font generation. Use when adding new icons to media/icons-src, creating SVG icons for VS Code extension, or defining font-based icons.
TypeScript coding standards — apply when writing, reviewing, or refactoring .ts/.tsx, or naming/renaming .ts files (camelCase casing).
| name | query-app-insights |
| description | Query Azure Application Insights telemetry data for command usage, extension activity, and performance metrics |
| disable-model-invocation | true |
Query Azure Application Insights telemetry to answer questions about command usage, extension activity, performance.
APP_INSIGHTS_API_KEY env varAPP_INSIGHTS_CLIENT_ID env vartsx scripts/queryAppInsights.ts "customEvents | take 1"tsx scripts/queryAppInsights.ts "<kql-query>"/commandExecution (Legacy/v2) or stored in dependencies table (OTEL/v3)customEvents (Legacy), dependencies (OTEL Spans), requests (Root Spans)name (Span name), cloud_RoleName (Extension name), operation_Id (Trace ID), operation_ParentId (Parent Span ID)where operation_ParentId == operation_Id (Finds top-level spans in v3)customMeasurements.executionTime (ms for Legacy) or duration (ms for OTEL)references/command-id-vs-executor.md - Finding executor names, shared executors, commands without telemetryreferences/query-patterns.md - Common KQL patternsreferences/script.md - Script implementation details