# 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]
```
