# Application Insights

{% hint style="info" %}
Recomendamos ativar o Application Insights para receber uma representação gráfica de dados sobre a sua instância do SCEPman, como pedidos com falha, disponibilidade e tempo de resposta do servidor ao longo de uma determinada duração.
{% endhint %}

Para ativar o Application Insights para o seu App Service, siga estas instruções:

{% stepper %}
{% step %}

### Navegue até ao seu App Service do SCEPman

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

{% step %}

### Selecione e ative o Application Insights

No menu do lado esquerdo, expanda Monitoring > Application Insights

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

{% step %}

### Crie um novo recurso do Application Insights

<figure><img src="/files/b942203a802155cc8d04c9a235236aa1c578bfe8" alt=""><figcaption></figcaption></figure>

Para implementações baseadas em Windows, selecione **.NET** e selecione o **Nível de recolha Recomendado.** (Para implementação baseada em Linux, escolha **.NET Core**)

**Profiler** e **Snapshot debugger** já deve estar ativado por predefinição.

Deixe **Mostrar variáveis locais \[...]** como *Desativado*, caso contrário, o Application Insights pode causar atrasos no arranque e mensagens de erro.

<figure><img src="/files/943df860b08e2ee5f3dc29268ae13e1564ad8fff" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Aplicar definições

Está agora pronto para usar o Application Insights para o SCEPman!
{% 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/pt/configuracao-do-azure/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.
