# Azure Monitor

### Description

This Azure Monitor destination configures an exporter to send telemetry data (logs, metrics, traces) to Azure Monitor for ingestion.

### Supported Types

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

### Configuration

<table><thead><tr><th width="199.30078125">Field</th><th>Description</th></tr></thead><tbody><tr><td>Choose Telemetry Type</td><td>The telemetry type to apply this processor to (Logs, Metrics, Traces).</td></tr><tr><td>Connection String</td><td>The connection string to authenticate with Azure Monitor.</td></tr><tr><td>Span Events Enabled</td><td>Whether to send span events as part of telemetry data (relevant for Traces).</td></tr><tr><td>Max Batch Size</td><td>The maximum number of telemetry items sent in a batch.</td></tr><tr><td>Max Batch Interval</td><td>The maximum interval in seconds before a batch is sent.</td></tr></tbody></table>

This destination supports 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

For a basic configuration, specify the telemetry types, connection string, and optionally, the span events setting for traces.

**Web Interface**

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

**Standalone Destination**

```yaml
apiVersion: bindplane.observiq.com/v1
kind: Destination
metadata:
  id: azure_monitor
  name: azure_monitor
spec:
  type: azure_monitor
  parameters:
    - name: telemetry
      value: ['Logs', 'Metrics', 'Traces']
    - name: connection_string
      value: 'your_connection_string'
    - name: span_events_enabled
      value: true
    - name: max_batch_size
      value: 500
    - name: max_batch_interval
      value: 10
```
