Connect

open_telemetry_collector

Enterprise license required

This component runs with a Redpanda Enterprise Edition license. Try it free for 30 days, or upgrade when you're ready.

Get a 30-day trial key Upgrade About licensing

Sends tracing events to one or more OpenTelemetry Collector endpoints.

Introduced in version 4.5.0.

Exports tracing events to one or more OpenTelemetry Collector endpoints over HTTP or gRPC.

  • Common

  • Advanced

tracer:
  open_telemetry_collector:
    service: benthos
    http: [] # No default (required)
    grpc: [] # No default (required)
    sampling:
      enabled: false
      ratio: 0 # No default (optional)
tracer:
  open_telemetry_collector:
    service: benthos
    http: [] # No default (required)
    grpc: [] # No default (required)
    tags: {}
    sampling:
      enabled: false
      ratio: 0 # No default (optional)

Fields

grpc[]

A list of grpc collectors.

Type: array<object>

grpc[].address

The endpoint of a collector to send events to.

Requires version 4.26.0 or later.

Type: string

# Examples:
address: localhost:4317

grpc[].secure

Connect to the collector with client transport security

Requires version 4.20.0 or later.

Type: bool

Default: false

http[]

A list of http collectors.

Type: array<object>

http[].address

The endpoint of a collector to send events to.

Requires version 4.26.0 or later.

Type: string

# Examples:
address: localhost:4318

http[].secure

Connect to the collector over HTTPS

Requires version 4.20.0 or later.

Type: bool

Default: false

sampling

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

Requires version 4.25.0 or later.

Type: object

sampling.enabled

Whether to enable sampling.

Type: bool

Default: false

sampling.ratio

Sets the ratio of traces to sample.

Type: float

# Examples:
ratio: 0.85

# ---

ratio: 0.5

service

The name of the service in traces.

Requires version 4.54.0 or later.

Type: string

Default: benthos

tags

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

Type: object<string>

Default: {}