> For the complete documentation index, see [llms.txt](https://docs.scepman.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scepman.com/ja/azure-gou-cheng/application-insights.md).

# Application Insights

{% hint style="info" %}
Application Insights を有効にして、SCEPman インスタンスのデータをグラフィカルに表示できるようにすることをお勧めします。たとえば、失敗した要求、可用性、サーバー応答時間を、指定した期間にわたって確認できます。
{% endhint %}

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

{% stepper %}
{% step %}

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

Azure > App Services > お使いの SCEPman App Service（既定の名前 `app-scepman-<suffix>`)
{% endstep %}

{% step %}

### Application Insights を選択してオンにします

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

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FjkDubNnOsNUawZWG54qX%2Fimage.png?alt=media&amp;token=51482db8-8051-4039-9eea-5494667a5cab" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

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

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FVZVSTYffAHwaItmhAy1j%2Fimage.png?alt=media&amp;token=86903a80-8ce2-4944-be68-911ccab872cb" alt=""><figcaption></figcaption></figure>

#### 計測の構成

の下で **アプリケーションを計測する**、次を選択します **.NET Core (Linux)** または **.NET (Windows)** タブで次を設定します:

* **収集レベル:** 推奨
* **Profiler:** オン（既定）
* **スナップショット デバッガー:** オン（既定）
* **例外のローカル変数を表示:** オフ

{% hint style="warning" %}
保持 **ローカル変数を表示** オフにします。SCEPman の起動が遅くなり、エラーメッセージの原因になることがあります。
{% endhint %}

<figure><img src="https://114237723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FMCAl5cIcXDiLrFSww3GY%2Fimage.png?alt=media&amp;token=5da8e611-eacc-4852-8a8f-c0128bfb9dc2" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 設定を適用

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
