Configure gRPC 🔗
gRPCは、Collectorの個々のレシーバーまたはエクスポーター内で調整できるさまざまな設定を公開しています。
注釈
To configure transport, see Configure network settings.
Configure gRPC clients 🔗
To configure gRPC clients in exporters use these settings:
auth
。Configure authentication を参照balancer_name
デフォルト:バージョン0.103.0以前は
pick_first
、v0.103.0以降はround_robin
Learn more at gRPC’s Load Balancing README .
compression
圧縮タイプの有効な値は、
gzip
、snappy
、zstd
、none
です
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 gRPC servers 🔗
To configure gRPC servers in collector receivers use these settings:
auth
。Configure authentication を参照keepalive
max_concurrent_streams
max_recv_msg_size_mib
read_buffer_size
tls
。Configure TLS を参照write_buffer_size
さらに詳しく 🔗
For more details on the available settings refer to:
gRPC Configuration Settings in OTel’s GitHub repo