# Custom

### Description

This Custom source can be used to directly configure an OpenTelemetry Receiver. The Custom source is useful for testing new receivers or for fulfilling a use case that is not supported by Bindplane natively.

{% hint style="info" %}
**NOTE**

The Custom Source can only be used with components that are present in the Bindplane Collector. See the [Included Components](https://github.com/observIQ/bindplane-otel-collector/tree/main#included-components) documentation for a list of supported components.
{% endhint %}

{% hint style="info" %}
**NOTE**

This source is not available in Bindplane Google Edition.
{% endhint %}

### Supported Platforms

| Platform                     | Metrics | Logs | Traces |
| ---------------------------- | ------- | ---- | ------ |
| Linux                        | ✓       | ✓    | ✓      |
| Windows                      | ✓       | ✓    | ✓      |
| macOS                        | ✓       | ✓    | ✓      |
| Kubernetes Node (DaemonSet)  | ✓       | ✓    | ✓      |
| Kubernetes Cluster           | ✓       | ✓    | ✓      |
| Kubernetes Gateway           | ✓       | ✓    | ✓      |
| OpenShift 4 Node (DaemonSet) | ✓       | ✓    | ✓      |
| OpenShift 4 Cluster          | ✓       | ✓    | ✓      |

The supported platforms and types will be limited to those allowed by the specific receiver used in the configuration.

### Configuration

<table><thead><tr><th width="145.0078125">Field</th><th>Description</th></tr></thead><tbody><tr><td>Telemetry Types</td><td>The kind of telemetry that will be gathered by the receiver. Can be any combination of metrics, logs, and traces.</td></tr><tr><td>Configuration</td><td>The YAML configuration for the receiver.</td></tr></tbody></table>

### Example Configuration

#### SQL Server Receiver

The [SQL Server Receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/sqlserverreceiver) is already configurable via the [Microsoft SQL Server](/integrations/sources/microsoft-sql-server.md) source, but the custom source can be used to access configuration options that are not exposed in Bindplane.

**Web Interface**

<figure><img src="/files/R14TUs0xaqUuivrlw2FI" alt="Bindplane docs - Custom - image 1"><figcaption></figcaption></figure>

**Standalone Source**

```yaml
apiVersion: bindplane.observiq.com/v1
kind: Source
metadata:
  id: custom
  name: custom
spec:
  type: custom
  parameters:
    - name: telemetry_types
      value:
        - Logs
        - Metrics
        - Traces
    - name: configuration
      value: |-
        sqlserver:
          collection_interval: 10s
          computer_name: CustomServer
          instance_name: CustomInstance
          resource_attributes:
            sqlserver.computer.name:
              enabled: true
            sqlserver.instance.name:
              enabled: true
```


---

# 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/integrations/sources/custom.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.
