Compétences appinsights-instrumentation
📊

appinsights-instrumentation

Sûr

Azure アプリに Application Insights テレメトリを追加する

このスキルでは、Azure Application Insights を使用して Web アプリケーションを計装するためのステップバイステップガイドを提供します。ASP.NET Core、Node.js、Python 向けの SDK セットアップ、設定、テレメトリパターンを含みます。

Prend en charge: Claude Codex Code(CC)
🥇 83 Or
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

Activez et commencez à utiliser

Tester

Utilisation de "appinsights-instrumentation". Node.js アプリに App Insights を追加するにはどうすればいいですか?

Résultat attendu:

  • Azure Monitor パッケージをインストール: npm install @azure/monitor-opentelemetry
  • メインエントリファイルに追加: const { useAzureMonitor } = require('@azure/monitor-opentelemetry');
  • アプリの前方でセットアップを呼び出し: useAzureMonitor();
  • 接続文字列環境変数を設定: APPLICATIONINSIGHTS_CONNECTION_STRING

Utilisation de "appinsights-instrumentation". Application Insights を作成するための Bicep テンプレートは何ですか?

Résultat attendu:

  • Log Analytics Workspace リソースを作成
  • kind: 'web' で Application Insights リソースを作成
  • WorkspaceResourceId を使用してワークスペースにリンク
  • アプリ設定で使用するための接続文字列を出力

Audit de sécurité

Sûr
v1 • 2/21/2026

This is an official Microsoft skill providing Azure Application Insights instrumentation guidance. All 49 static findings are false positives: weak crypto alerts triggered by Azure SKU names (PerGB2018) and API versions; backtick detections are markdown code blocks; path traversal alerts are relative markdown links; environment variable access is the Azure-recommended pattern for connection strings. No actual security risks identified.

12
Fichiers analysés
374
Lignes analysées
0
résultats
1
Total des audits
Aucun problème de sécurité trouvé
Audité par: claude

Score de qualité

73
Architecture
100
Maintenabilité
87
Contenu
50
Communauté
100
Sécurité
91
Conformité aux spécifications

Ce que vous pouvez construire

DevOps エンジニアが Azure Web アプリに監視を追加する

DevOps エンジニアは、Azure App Service で実行されている既存の ASP.NET Core アプリに Application Insights を追加する必要があります。スキルはステップバイステップの SDK セットアップと設定ガイダンスを提供します。

開発者が App Insights 計装を学ぶ

開発者は、Azure Monitor 向けの OpenTelemetry を使用して Node.js アプリケーションを計装する方法を理解したいと考えています。スキルはクイックスタートガイドとベストプラクティスを提供します。

Azure 監視ヘルプが必要な Claude Code ユーザー

Claude Code ユーザーは、Python アプリにテレメトリを追加する方法を尋ねます。スキルは Python 固有の SDK 設定と接続文字列セットアップ手順を提供します。

Essayez ces prompts

基本的な計装の質問
Azure Web アプリに Application Insights テレメトリを追加するにはどうすればいいですか?
ASP.NET Core セットアップ
OpenTelemetry SDK を使用して ASP.NET Core アプリケーションで Application Insights を設定する方法を教えてください。
Node.js 設定
Node.js アプリに Azure Monitor OpenTelemetry を追加するコードと、必要な環境変数を教えてください。
Azure App Service の自動計装
コードを変更せずに、Azure App Service でホストされているアプリの自動計装を有効にするにはどうすればいいですか?

Bonnes pratiques

  • 接続文字列を構成ファイルにハードコードする代わりに、環境変数を使用する
  • アプリケーションの起動時にできるだけ早い段階で監視セットアップを呼び出す
  • 設定が容易な場合は OpenTelemetry Distro パッケージを使用する

Éviter

  • App Insights 設定のために appsettings.json を変更しない(非推奨の方法)
  • 接続文字列をソースコードにハードコードしない
  • 高トラフィックアプリケーションのサンプリングセットアップをスキップしない

Foire aux questions

Application Insights とは何ですか?
Application Insights は、Azure Monitor の機能で、アプリケーションパフォーマンス監視(APM)、テレメトリ収集、Azure またはオンプレミスで実行されているアプリケーションの診断を提供します。
App Insights を使用するためにコードを変更する必要がありますか?
Azure App Service アプリの場合、コード変更なしで自動計装を使用できます。その他のシナリオでは、SDK を追加してコード内でセットアップメソッドを呼び出す必要があります。
接続文字列はどこで入手できますか?
接続文字列は、Azure Portal の Application Insights リソースプロパティで入手できます。または、appinsights コマンドを使用して Azure CLI で取得できます。
どの言語がサポートされていますか?
このスキルは ASP.NET Core、Node.js、Python をカバーし、Java および TypeScript アプリケーションの参照を提供します。
自動計装と手動計装の違いは何ですか?
自動計装はコード変更なしで動作しますが、Azure App Service のみサポートしています。手動計装は SDK 統合が必要ですが、任意のホスティング環境で動作します。
このスキルを使用して App Insights リソースを作成できますか?
いいえ、このスキルはガイダンスのみを提供します。実際の Azure リソースを作成するには、コンポーネントの変更をオーケストレーションする azure-prepare スキルを呼び出してください。