From 9515177e299465c7d82942bbcc4a177b0b8f728e Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Wed, 29 Apr 2026 12:20:18 +0100 Subject: [PATCH] docs(telemetry): add missing config options to xrpld-example.cfg Document service_instance_id, use_tls, tls_ca_cert, batch_size, batch_delay_ms, and max_queue_size in the [telemetry] section. Co-Authored-By: Claude Opus 4.6 --- cfg/xrpld-example.cfg | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/cfg/xrpld-example.cfg b/cfg/xrpld-example.cfg index 04a7b4f81e..8ddc30e2f3 100644 --- a/cfg/xrpld-example.cfg +++ b/cfg/xrpld-example.cfg @@ -1619,12 +1619,28 @@ validators.txt # The node's network ID (from [network_id]) is automatically added # as the `xrpl.network.id` and `xrpl.network.type` resource attributes. # +# service_instance_id= +# +# OTel resource attribute `service.instance.id`. Uniquely identifies +# this node. Default: the node's public key (auto-detected). +# # endpoint=http://localhost:4318/v1/traces # # The OTLP/HTTP exporter endpoint. The server sends trace data as # protobuf-encoded HTTP POST requests to this URL. # Default: http://localhost:4318/v1/traces. # +# --- TLS settings for the OTLP exporter connection --- +# +# use_tls=0 +# +# Enable TLS for the OTLP/HTTP exporter connection. Default: 0 (off). +# +# tls_ca_cert= +# +# Path to a PEM-encoded CA certificate bundle for TLS verification. +# Only used when use_tls=1. Default: empty (system CA store). +# # sampling_ratio=1.0 # # Head-based sampling ratio using TraceIdRatioBasedSampler. The decision @@ -1660,3 +1676,19 @@ validators.txt # Enable tracing for ledger close and accept operations — ledger # building, state hashing, and write-back to the node store. Default: 1. # +# --- Batch processor tuning --- +# +# batch_size=512 +# +# Maximum number of spans exported in a single batch. Default: 512. +# +# batch_delay_ms=5000 +# +# Maximum delay (milliseconds) before a partial batch is flushed. +# Default: 5000 (5 seconds). +# +# max_queue_size=2048 +# +# Maximum number of spans queued in memory before drops occur. +# Default: 2048. +#