> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell-universal/it/piattaforma/plugins/opentelemetry.md).

# OpenTelemetry

**Identificatore:** `PowerShellUniversal.Plugins.OpenTelemetry`

OpenTelemetry è un insieme di API, SDK e strumenti. Lo utilizzi per strumentare, generare, raccogliere ed esportare dati di telemetria (metriche, log e tracce) per analizzare le prestazioni e il comportamento del suo software.

Il plugin consente l'integrazione con la tecnologia. Può utilizzare le [Impostazioni dell'app](/powershell-universal/it/config/settings.md) per configurare dove inviare i dati. Attualmente PowerShell Universal espone una sola configurazione di endpoint OTLP. La configurazione seguente funzionerebbe con Prometheus.

```json
{    
    "OpenTelemetry": {
        "Otlp": {
            "Endpoint": "http://localhost:9090/api/v1/otlp/v1/metrics"
        }
    }
}
```

### Prometheus

Può configurare Prometheus per raccogliere i dati di PowerShell Universal avviandolo con il collector OTLP abilitato.

```powershell
 .\prometheus.exe --web.enable-otlp-receiver
```

All'interno di PowerShell Universal, dovrà specificare l'URL `/api/v1/otlp/v1/metrics` per il server Prometheus. Questo esempio utilizza Prometheus 3.5.

```powershell
{    
    "OpenTelemetry": {
        "Otlp": {
            "Endpoint": "http://localhost:9090/api/v1/otlp/v1/metrics"
        }
    }
}
```


---

# 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 dynamically by asking a question.

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

```
GET https://docs.devolutions.net/powershell-universal/it/piattaforma/plugins/opentelemetry.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
