> For the complete documentation index, see [llms.txt](https://docs.apica.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apica.io/fleet-management/list-of-agents/opentelemetry-collector-1.md).

# OpenTelemetry Collector

Instructions for installing OpenTelemetry Collector agents using Fleet.

* Click on the Install Agent Manager Button

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FbvJYNrVY9Mdh5tOSRmsZ%2Fimage.png?alt=media&amp;token=6dd1048e-bebd-4d53-bead-e9cf9a58a768" alt="" width="375"><figcaption></figcaption></figure>

* Select a Platform
* And, select an Agent Type of OpenTelemetry Collector
* Add any optional Custom Attributes for the new agent
* Add any optional Secrets for the agent

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FRTzhgx1dnVv3mI5Q8CDk%2FScreenshot%202025-01-15%20at%2014-48-35%20Fleet.png?alt=media&amp;token=1ab337ee-21c0-4dc5-a39b-cc1bd8b46b9b" alt=""><figcaption></figcaption></figure>

* Click on the Proceed button to generate the README instructions and installation script

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FwD0CKp9UgT4wFf90NArA%2Fimage.png?alt=media&amp;token=7a8b6a22-9777-42e8-a915-89dd454d6960" alt=""><figcaption></figcaption></figure>

* The Download All button can be used to download these files
* Install the Fleet agent-manager as instructed in the README instructions

#### Check agent-manager status:

To check the status of agent-manager, and the running agents on a Linux host:

```
$ sudo systemctl status agent-manager-otelcol
```

To get agent-manager logs on a Linux host:

```
$ sudo journalctl -n 100 -f -u agent-manager-otelcol
```

To check the status of agent-manager, and the running agents on a Windows host, use the **Windows Services** app, and locate the service named **agent-manager-otelcol**.

To get agent-manager logs on a Windows host, use the **Windows Event Viewer** app. The logs from agent-manager will be located in the **Windows Logs > Application** logs.
