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

# Bindplane

Bindplane manages OpenTelemetry collectors (agents). OctoXLabs reads the agents from the collectors endpoint and stores them as devices.

## Use cases

* List collectors with their agent version.

```
Adapters = bindplane AND AgentVersions = *
```

* List collectors that carry labels.

```
Adapters = bindplane AND DeviceTags = *
```

## Before you begin

### Network

| Source              | Destination                                                  | Port                                            | Protocol                               |
| ------------------- | ------------------------------------------------------------ | ----------------------------------------------- | -------------------------------------- |
| OctoXLabs connector | app.bindplane.com (Bindplane Cloud) or your Bindplane server | 443 for Cloud, your server port for self-hosted | HTTPS or HTTP, as in the URL you enter |

### Required permissions

The source does not list specific permissions. Use an account that can read the data listed under Fields fetched.

## Create credentials in Bindplane

{% stepper %}
{% step %}

### Open Project Settings

Open **Project Settings** from the top-right menu.
{% endstep %}

{% step %}

### Create an API key

Go to **API Keys** and click **Create API Key**. Optionally enter a description and an expiration, then click **Create**.
{% endstep %}

{% step %}

### Copy the key

The key is shown only once. If you lose it, delete it and create a new one.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default                     | Description                                                                                               |
| --------- | -------- | ------- | --------------------------- | --------------------------------------------------------------------------------------------------------- |
| URL       | Yes      | String  | <https://app.bindplane.com> | Base URL with scheme. Use the default for Bindplane Cloud. For self-hosted use `http(s)://<host>:<port>`. |
| API Key   | Yes      | String  |                             | Sent in the `X-Bindplane-Api-Key` header.                                                                 |
| Per Page  | No       | Integer | 500                         | Agents per page. Range 500 to 1000.                                                                       |
| Proxy     | No       | String  |                             | Proxy as `host:port`.                                                                                     |
| Timeout   | No       | Integer | 30                          | Seconds to wait for API responses.                                                                        |

## Troubleshooting

| Error message                  | Cause                                                                                                                                  | Fix                                                                                                  |
| ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Rate limit hit at . Sleeping s | The API answered 429. The connector waits for `Retry-After` (60 seconds if absent) and retries.                                        | No action. If the retries run out, lower the load or run the discovery later.                        |
| Status Code: `, URL, Method`   | The API answered with an unexpected HTTP status. The shared request code raises it and logs the status, URL, method and response body. | Check the URL, the credentials and the permissions listed above, then run the connection test again. |

## Change history

{% hint style="info" %}
Available starting from version 6.9.1.
{% endhint %}
