# Observe

### Description

This Observe destination can be used to send metrics, logs, and traces to an [Observe account](https://www.observeinc.com/).

### Supported Types

| Logs | Metrics | Traces | Bindplane Collector |
| ---- | ------- | ------ | ------------------- |
| ✓    | ✓       | ✓      | `v1.41.0`+          |

### Prerequisites

By default, The Observe platform will not display metrics and logs. You can enable metrics and logs by selecting "Applications" and choosing "Manage" on the OpenTelemetry application. The manage page will let you toggle support for metrics and logs.

### Configuration

<table><thead><tr><th width="119.94921875">Field</th><th>Description</th></tr></thead><tbody><tr><td>Customer ID</td><td>A 12-digit number that identifies your account and is displayed in the URL you use to log into Observe. You can learn more <a href="https://docs.observeinc.com/en/latest/content/data-ingestion/endpoints.html">here</a>.</td></tr><tr><td>Token</td><td>A token with write-access to a Datastream in your Observe account. You can learn more <a href="https://docs.observeinc.com/en/latest/content/data-ingestion/endpoints.html#authentication">here</a>.</td></tr></tbody></table>

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

The Observe platform relies on the "Timestamp" field for indexing logs. You can use the\
[Parse Timestamp processor](https://docs.bindplane.com/integrations/processors/parse-timestamp) to parse your application's timestamps if they are not already parsed by your configured sources. Most Bindplane sources will handle timestamps correctly without additional configuration.
{% endhint %}

This destination supports the [retry settings](https://docs.bindplane.com/configuration/bindplane-otel-collector/retry-on-failure), the [sending queue settings](https://docs.bindplane.com/configuration/bindplane-otel-collector/sending-queue), and the [persistent queue settings.](https://docs.bindplane.com/configuration/bindplane-otel-collector/persistent-queue)

| Sending Queue | Persistent Queue | Retry on Failure |
| ------------- | ---------------- | ---------------- |
| ✓             | ✓                | ✓                |

### Example Configuration

This example configuration will forward metrics, traces, and logs to the account `165866210346`\
using the token we created in the Observe web interface.

**Web Interface**

<figure><img src="https://1405008107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgmiOMzBfoNFwmKJFHMcJ%2Fuploads%2Fgit-blob-bed79fab43c24b5d439ab40197c0aa53874712e4%2Fintegrations-destinations-observe-image-1.png?alt=media" alt="Bindplane docs - Observe - image 1"><figcaption></figcaption></figure>

<figure><img src="https://1405008107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgmiOMzBfoNFwmKJFHMcJ%2Fuploads%2Fgit-blob-ba7f9d0082b95efb269b0b66f73ed5eae07315be%2Fintegrations-destinations-observe-image-2.png?alt=media" alt="Bindplane docs - Observe - image 2"><figcaption></figcaption></figure>

**Standalone Destination**

```yaml
apiVersion: bindplane.observiq.com/v1
kind: Destination
metadata:
  name: Observe
spec:
  type: observeinc
  parameters:
    - name: customer_id
      value: '165866210346'
    - name: token
      value: (sensitive)
      sensitive: true
    - name: retry_on_failure_enabled
      value: true
    - name: retry_on_failure_initial_interval
      value: 5
    - name: retry_on_failure_max_interval
      value: 30
    - name: retry_on_failure_max_elapsed_time
      value: 300
    - name: sending_queue_enabled
      value: true
    - name: sending_queue_num_consumers
      value: 10
    - name: sending_queue_queue_size
      value: 5000
    - name: persistent_queue_enabled
      value: true
    - name: persistent_queue_storage_extension
      value: 
        type: file_storage_persistent_queue
        parameters:
          - name: persistent_queue_directory
            value: ${OIQ_OTEL_COLLECTOR_HOME}/storage
          - name: timeout
            value: 1
          - name: persistent_queue_fsync
            value: true
```
