# Application Insights

{% hint style="info" %}
SCEPman インスタンスに関するデータのグラフィカルな表示（失敗した要求、可用性、指定期間におけるサーバー応答時間など）を取得するには、Application Insights を有効にすることを推奨します。
{% endhint %}

App Service で Application Insights を有効にするには、以下の手順に従ってください。

{% stepper %}
{% step %}

### SCEPman の App Service に移動します

Azure > App Services > app-scepman-xxxxxx
{% endstep %}

{% step %}

### Application Insights を選択して有効にします

左側のメニューで、Monitoring > Application Insights を展開します

\
![](/files/e64005b534258b161e728a03d1a664ac8d76485b)
{% endstep %}

{% step %}

### 新しい Application Insights リソースを作成します

<figure><img src="/files/11035ed84236abcb467ad8fef5fa00782a7f35e7" alt=""><figcaption></figcaption></figure>

Windows ベースのデプロイの場合は、を選択します **.NET** を選択し、 **Collection level Recommended. を選択します。** （Linux ベースのデプロイの場合は、 **.NET Core**)

**Profiler** および **Snapshot debugger** は、既定で既に有効になっているはずです。

そのままにする **ローカル変数 \[...] を表示** を *Off*にします。そうしないと、Application Insights により起動の遅延やエラーメッセージが発生する可能性があります。

<figure><img src="/files/5b0f1acba8b0bb36ced1dde9d75b68adbc00b107" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 設定を適用する

これで、SCEPman で Application Insights を使用できるようになりました。
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.scepman.com/ja/azure-gou-cheng/application-insights.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
