Azure Monitor OpenTelemetry TS
技能 活跃Instrument applications with Azure Monitor and OpenTelemetry for JavaScript (@azure/monitor-opentelemetry). Use when adding distributed tracing, metrics, and logs to Node.js applications with Application Insights.
To easily add comprehensive application monitoring (tracing, metrics, logs) to Node.js applications using Azure Monitor and OpenTelemetry.
功能
- Auto-instrumentation for Node.js applications
- Integration with Azure Monitor and Application Insights
- Support for distributed tracing, metrics, and logs
- Customizable configuration for exporters, sampling, and instrumentation
- Offline storage for telemetry data
使用场景
- Adding distributed tracing to a new or existing Node.js application.
- Collecting performance metrics for a Node.js service.
- Centralizing logs from a Node.js application into Azure Application Insights.
- Integrating OpenTelemetry standards into an Azure-based application.
非目标
- Directly managing Azure resources (e.g., creating Application Insights instances).
- Providing a UI for viewing telemetry data (relies on Application Insights portal).
- Instrumenting non-Node.js applications.
工作流
- Install the @azure/monitor-opentelemetry npm package.
- Import and call `useAzureMonitor()` early in the application's entry point.
- Configure connection string and optional settings.
- Run the Node.js application.
- View traces, metrics, and logs in Azure Application Insights.
实践
- Application Performance Monitoring
- Distributed Tracing
- OpenTelemetry Integration
- Node.js Application Instrumentation
先决条件
- Node.js environment
- npm package manager
- Azure Subscription with Application Insights configured
- APPLICATIONINSIGHTS_CONNECTION_STRING environment variable
Trust
- warning:Issues Attention19 issues opened and 11 closed in the last 90 days. The closure rate is below 50%, indicating slower response times for open issues.
Compliance
- info:GDPRThe skill primarily deals with application performance metrics and logs, not direct personal data, but PII could be inadvertently captured in logs without explicit sanitization steps within the skill itself.
安装
请先添加 Marketplace
/plugin marketplace add microsoft/skills/plugin install azure-sdk-typescript@skills质量评分
类似扩展
Azure Monitor Query Py
100Azure Monitor Query SDK for Python. Use for querying Log Analytics workspaces and Azure Monitor metrics. Triggers: "azure-monitor-query", "LogsQueryClient", "MetricsQueryClient", "Log Analytics", "Kusto queries", "Azure metrics".
Query Netdata Cloud
100Query Netdata Cloud via its REST API -- metrics, logs (systemd-journal / windows-events / otel-logs), topology graphs (topology:snmp), network flows (flows:netflow), alerts, dynamic configuration (DynCfg), and generic Functions on a node. Use when the user asks about querying Netdata Cloud, fetching metrics from the cloud, querying logs / topology / netflow / sflow / ipfix through Cloud, listing or modifying configurations via DynCfg, calling agent Functions through Cloud, listing spaces/rooms/nodes, or building a curl command against `app.netdata.cloud`. Pairs with the `query-netdata-agents` skill when direct-agent access is needed.
Azure Postgres Ts
100Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package. Use for PostgreSQL queries, connection pooling, transactions, and Microsoft Entra ID (passwordless) authentication. Triggers: "PostgreSQL", "postgres", "pg client", "node-postgres", "Azure PostgreSQL connection", "PostgreSQL TypeScript", "pg Pool", "passwordless postgres".
Ops Monitor
100Unified APM and monitoring surface. Polls Datadog, New Relic, and OpenTelemetry backends for active alerts, error traces, and entity health. Use --watch for live polling every 60 seconds. Use --setup to configure monitoring credentials.
Sentry React Router Framework Sdk
100Full Sentry SDK setup for React Router Framework mode. Use when asked to "add Sentry to React Router Framework", "install @sentry/react-router", or configure error monitoring, tracing, profiling, session replay, logs, or user feedback for a React Router v7 framework app.
Azure Monitor Ingestion Py
99Azure Monitor Ingestion SDK for Python. Use for sending custom logs to Log Analytics workspace via Logs Ingestion API. Triggers: "azure-monitor-ingestion", "LogsIngestionClient", "custom logs", "DCR", "data collection rule", "Log Analytics".