Configure gRCP 🔗
gRPC exposes a variety of settings you can adjust within individual receivers or exporters of the Collector.
注釈
To configure transport, see Configure network settings.
Configure gRCP clients 🔗
To configure gRCP clients in exporters use these settings:
auth
. See Configure authenticationbalancer_name
Defaults:
pick_first
before version 0.103.0,round_robin
for v0.103.0 or higherLearn more at gRCP’s Load Balancing README .
compression
Compression type valid values are
gzip
,snappy
,zstd
, andnone
endpoint
For valid syntax see gRPC Name Resolution .
headers
keepalive
read_buffer_size
tls
. See Configure TLS.write_buffer_size
例:
exporters:
otlp:
endpoint: otelcol2:55690
auth:
authenticator: some-authenticator-extension
tls:
ca_file: ca.pem
cert_file: cert.pem
key_file: key.pem
headers:
test1: "value1"
"test 2": "value 2"
Configure gRCP servers 🔗
To configure gRCP servers in collector receivers use these settings:
auth
. See Configure authenticationkeepalive
max_concurrent_streams
max_recv_msg_size_mib
read_buffer_size
tls
. See Configure TLSwrite_buffer_size
さらに詳しく 🔗
For more details on the available settings refer to:
gRPC Configuration Settings in OTel’s GitHub repo