> For the complete documentation index, see [llms.txt](https://docs.bindplane.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bindplane.com/core-concepts/collectors.md).

# Collectors

Collectors are the OpenTelemetry collectors Bindplane manages. Learn about collector roles, the Collectors page, and how collectors receive configurations.

A Collector is an OpenTelemetry collector that connects to Bindplane and runs the pipelines you build. Bindplane manages collectors remotely over [OpAMP](https://opentelemetry.io/docs/specs/opamp/): it pushes configurations, tracks health and throughput, and handles upgrades without you logging in to each host.

{% hint style="info" %}
Collectors were previously called **Agents** in the Bindplane UI. The CLI and REST API accept both names, so `bindplane get collectors` and `bindplane get agents` return the same results.
{% endhint %}

## Supported Collectors

Most deployments run the [Bindplane Distro for OpenTelemetry Collector (BDOT)](https://docs.bindplane.com/deployment/virtual-machine/collector/install-and-uninstall-bindplane-collectors.md), which ships with OpAMP support and the components Bindplane configurations use. You can also manage your own OpenTelemetry collector build with the OpAMP Supervisor. See [Bring Your Own Collector](https://docs.bindplane.com/feature-guides/deployment-and-management/bring-your-own-collector.md).

Collectors run on Linux, Windows, macOS, Kubernetes, OpenShift, and container platforms such as Docker and AWS ECS.

## Collector Roles

Every collector has one of two roles, based on where it runs and what it does.

| Role        | Where it runs                                                                              | What it does                                                                                                                    | Grouped into                                                      |
| ----------- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| **Edge**    | On or next to the workload it monitors: a VM, a workstation, a Kubernetes node, a sidecar. | Collects telemetry at the source and forwards it, either to a Gateway or directly to a destination.                             | [Edge Fleets](https://docs.bindplane.com/core-concepts/fleets.md) |
| **Gateway** | Centrally, usually as a horizontally scaled set behind a load balancer.                    | Receives telemetry from edge collectors, syslog senders, and pull-based sources, processes it, and forwards it to destinations. | [Gateways](https://docs.bindplane.com/core-concepts/gateways.md)  |

Both roles use the same collector binary. The role decides which configurations the collector can run and how it's grouped in Bindplane.

## The Collectors Page

Select **Collectors** in the navigation to see every collector in the project. Use the tabs at the top of the table to narrow the list:

* **All**: every collector in the project
* **Gateway Instances**: collectors that belong to a Gateway
* **Edge Fleet Collectors**: collectors that belong to an Edge Fleet

The table shows each collector's status, type, version, Edge Fleet or Gateway, configuration, throughput, operating system, and labels. Select a collector to open its detail page, where you can view recent telemetry, inspect its configuration, run [Snapshots](https://docs.bindplane.com/feature-guides/data-management/snapshots.md), and upgrade it.

## Installing a Collector

Start the install wizard from the Collectors page. The wizard asks for a platform and, depending on the role, where the collector should go:

* For an **edge** collector, choose an Edge Fleet or a configuration.
* For a **gateway** collector, choose a Gateway. See [Gateways](https://docs.bindplane.com/core-concepts/gateways.md) for the full gateway install flow.

The wizard generates an install command with the right labels already set. Run it on the target host or cluster and the collector appears on the Collectors page once it connects.

For platform-specific steps, see [Install Your First Collector](https://docs.bindplane.com/readme/install-your-first-collector.md).

## How a Collector Gets Its Configuration

A collector runs one configuration at a time. Bindplane picks it in this order:

1. The configuration assigned to the collector's **Gateway**
2. The configuration assigned to the collector's **Edge Fleet**
3. The configuration assigned directly to the collector, with **Change Configuration** on its page or the CLI, which sets its `configuration` label

See [Core Concepts](https://docs.bindplane.com/core-concepts.md#how-a-collector-gets-its-configuration) for details.

## CLI

List collectors:

```sh
bindplane get collectors
```

Add a collector to an Edge Fleet by labeling it:

```sh
bindplane label collector <collector-id> fleet=<fleet-name>
```

Assign a configuration directly:

```sh
bindplane label collector <collector-id> configuration=<configuration-name>
```


---

# 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.bindplane.com/core-concepts/collectors.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.
