# Bindplane OTel Collector

The BDOT Collector is an open source project. For more information on how to configure BDOT Collector, see the documentation on [GitHub](https://github.com/observIQ/bindplane-otel-collector/tree/main/docs), or the [Resources](https://docs.bindplane.com/integrations).

### Configuration

The BDOT Collector uses OpenTelemetry Collector configuration.

For sample configs, see the [config](https://github.com/observIQ/bindplane-otel-collector/tree/main/config) directory. For general configuration help, see the [OpenTelemetry docs](https://opentelemetry.io/docs/collector/configuration/).

For a list of possible command line arguments to use with the BDOT Collector, run the collector with the `--help` argument.

#### Included Components

**Receivers**

For supported receivers and their documentation see [receivers](https://github.com/observIQ/bindplane-otel-collector/tree/main/docs/receivers.md).

**Processors**

For supported processors and their documentation see [processors](https://github.com/observIQ/bindplane-otel-collector/tree/main/docs/processors.md).

**Exporters**

For supported exporters and their documentation see [exporters](https://github.com/observIQ/bindplane-otel-collector/tree/main/docs/exporters.md).

**Extensions**

For supported extensions and their documentation see [extensions](https://github.com/observIQ/bindplane-otel-collector/tree/main/docs/extensions.md).

**Connectors**

For supported connectors and their documentation see [connectors](https://github.com/observIQ/bindplane-otel-collector/tree/main/docs/connectors.md).

#### Example `config.yaml`

Here's a sample setup for `hostmetrics` on Google Cloud.

```yaml
# Receivers collect metrics from a source. The hostmetrics receiver will get
# CPU load metrics about the machine the collector is running on every minute.
receivers:
  hostmetrics:
    collection_interval: 60s
    scrapers:
      cpu:
      disk:
      load:
      filesystem:
      memory:
      network:
      paging:
      processes:

# Exporters send the data to a destination, in this case GCP.
exporters:
  googlecloud:

# Service specifies how to construct the data pipelines using the configurations above.
service:
  pipelines:
    metrics:
      receivers: [hostmetrics]
      exporters: [googlecloud]
```


---

# Agent Instructions: 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.bindplane.com/configuration/bindplane-otel-collector.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.
