> 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/fr/plateforme/plugins/opentelemetry.md).

# OpenTelemetry

**Identifier:** `PowerShellUniversal.Plugins.OpenTelemetry`

OpenTelemetry est un ensemble d'API, de SDK et d'outils. Utilisez-le pour instrumenter, générer, collecter et exporter des données de télémétrie (métriques, journaux et traces) afin de vous aider à analyser les performances et le comportement de vos logiciels.

L'extension permet l'intégration avec cette technologie. Vous pouvez utiliser les [paramètres de l'application](/powershell-universal/fr/config/settings.md) pour configurer la destination d'envoi des données. PowerShell Universal n'expose actuellement qu'une seule configuration de point de terminaison OTLP. La configuration ci-dessous fonctionnerait avec Prometheus.

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

### Prometheus

Vous pouvez configurer Prometheus pour collecter les données de PowerShell Universal en le démarrant avec le collecteur OTLP activé.

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

Dans PowerShell Universal, vous devrez spécifier l'URL `/api/v1/otlp/v1/metrics` pour le serveur Prometheus. Cet exemple utilise 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:

```
GET https://docs.devolutions.net/powershell-universal/fr/plateforme/plugins/opentelemetry.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.
