# open_telemetry_collector

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [connect-full.txt](https://docs.redpanda.com/connect-full.txt)

---
title: open_telemetry_collector
latest-connect-version: 4.93.0
latest-operator-version: v26.1.4
latest-console-tag: v3.7.3
latest-redpanda-tag: v26.1.9
docname: tracers/open_telemetry_collector
page-component-name: connect
page-version: master
page-component-version: master
page-component-title: Connect
page-relative-src-path: tracers/open_telemetry_collector.adoc
page-edit-url: https://github.com/redpanda-data/rp-connect-docs/edit/main/modules/components/pages/tracers/open_telemetry_collector.adoc
page-git-created-date: "2024-05-24"
page-git-modified-date: "2026-05-26"
---

<!-- Source: https://docs.redpanda.com/connect/components/tracers/open_telemetry_collector.md -->

**Type:** Tracer ▼

[Tracer](https://docs.redpanda.com/connect/components/tracers/open_telemetry_collector/)[Metric](https://docs.redpanda.com/connect/components/metrics/open_telemetry_collector/)

**Available in:** Self-Managed

**License**: This component requires an [enterprise license](https://docs.redpanda.com/redpanda-connect/get-started/licensing/). You can either [upgrade to an Enterprise Edition license](https://www.redpanda.com/upgrade), or [generate a trial license key](http://redpanda.com/try-enterprise) that's valid for 30 days.

Send tracing events to an [Open Telemetry collector](https://opentelemetry.io/docs/collector/).

#### Common

```yml
tracers:
  open_telemetry_collector:
    service: benthos
    http: [] # No default (required)
    grpc: [] # No default (required)
    sampling:
      enabled: false
      ratio: "" # No default (optional)
```

#### Advanced

```yml
tracers:
  open_telemetry_collector:
    service: benthos
    http: [] # No default (required)
    grpc: [] # No default (required)
    tags: {}
    sampling:
      enabled: false
      ratio: "" # No default (optional)
```

## [](#fields)Fields

### [](#grpc)`grpc[]`

A list of grpc collectors.

**Type**: `object`

### [](#grpc-address)`grpc[].address`

The endpoint of a collector to send events to.

**Type**: `string`

```yaml
# Examples:
address: localhost:4317
```

### [](#grpc-secure)`grpc[].secure`

Connect to the collector with client transport security

**Type**: `bool`

**Default**: `false`

### [](#http)`http[]`

A list of http collectors.

**Type**: `object`

### [](#http-address)`http[].address`

The endpoint of a collector to send events to.

**Type**: `string`

```yaml
# Examples:
address: localhost:4318
```

### [](#http-secure)`http[].secure`

Connect to the collector over HTTPS

**Type**: `bool`

**Default**: `false`

### [](#sampling)`sampling`

Settings for trace sampling. Sampling is recommended for high-volume production workloads.

Requires version 4.25.0 or later.

**Type**: `object`

### [](#sampling-enabled)`sampling.enabled`

Whether to enable sampling.

**Type**: `bool`

**Default**: `false`

### [](#sampling-ratio)`sampling.ratio`

Sets the ratio of traces to sample.

**Type**: `float`

```yaml
# Examples:
ratio: 0.85

# ---

ratio: 0.5
```

### [](#service)`service`

The name of the service in traces.

**Type**: `string`

**Default**: `benthos`

### [](#tags)`tags`

A map of tags to add to all exported spans and metrics.

**Type**: `string`

**Default**: `{}`