Skip to content

open_telemetry_collector

Send tracing events to an Open Telemetry collector.

# Common config fields, showing default values
tracer:
open_telemetry_collector:
http: [] # No default (required)
grpc: [] # No default (required)
sampling:
enabled: false
ratio: 0.85 # No default (optional)

Fields

http

A list of http collectors.

Type: array

http[].address

The endpoint of a collector to send tracing events to.

Type: string

# Examples
address: localhost:4318

http[].secure

Connect to the collector over HTTPS

Type: bool

Default: false

grpc

A list of grpc collectors.

Type: array

grpc[].address

The endpoint of a collector to send tracing events to.

Type: string

# Examples
address: localhost:4317

grpc[].secure

Connect to the collector with client transport security

Type: bool

Default: false

tags

A map of tags to add to all tracing spans.

Type: object

Default: {}

sampling

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

Type: object

Requires version 4.25.0 or newer

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