> 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/fr/configuration-azure/application-insights.md).

# Application Insights

{% hint style="info" %}
Nous vous recommandons d’activer Application Insights afin de recevoir une représentation graphique des données de votre instance SCEPman, telles que les requêtes échouées, la disponibilité et le temps de réponse du serveur sur une période donnée.
{% endhint %}

Pour activer Application Insights pour votre App Service, veuillez suivre ces instructions :

{% stepper %}
{% step %}

### Accédez à votre App Service SCEPman

Azure > App Services > votre App Service SCEPman (nom par défaut `app-scepman-<suffix>`)
{% endstep %}

{% step %}

### Sélectionnez et activez Application Insights

Dans le menu de gauche, développez Monitoring > Application Insights

<figure><img src="https://129332256-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 %}

### Créez une nouvelle ressource Application Insights

<figure><img src="https://129332256-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>

#### Configurez l’instrumentation

Sous **Instrumentez votre application**, sélectionnez l’ **.NET Core (Linux)** ou **.NET (Windows)** onglet et définissez :

* **Niveau de collecte :** Recommandé
* **Profileur :** Activé (par défaut)
* **Débogueur d’instantanés :** Activé (par défaut)
* **Afficher les variables locales pour les exceptions :** Désactivé

{% hint style="warning" %}
Conserver **Afficher les variables locales** désactivé. Cela retarde le démarrage de SCEPman et peut provoquer des messages d’erreur.
{% endhint %}

<figure><img src="https://129332256-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 %}

### Appliquer les paramètres

Vous êtes maintenant prêt à utiliser Application Insights pour SCEPman !
{% 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/fr/configuration-azure/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.
