diff --git a/docker/telemetry/xrpld-telemetry.cfg b/docker/telemetry/xrpld-telemetry.cfg index 0a50c3bbaa..f03af1cbde 100644 --- a/docker/telemetry/xrpld-telemetry.cfg +++ b/docker/telemetry/xrpld-telemetry.cfg @@ -58,10 +58,17 @@ trace_consensus=1 trace_peer=1 trace_ledger=1 -# --- StatsD metrics (beast::insight) --- -# Sends UDP metrics to the collector's StatsD receiver so the StatsD -# dashboards have data. The collector binds this port on the host loopback. +# --- Insight (native OTel metrics via beast::insight) --- +# server selects the beast::insight backend. Only server=otel is usable with +# this stack: the collector defines no StatsD receiver and 8125/udp is not +# published, so server=statsd sends UDP to a port nothing listens on. +# endpoint and prefix are informational only. OTelCollector records on the +# global MeterProvider that [telemetry] configures, and formatName() does not +# apply the prefix, so metric names are bare and lowercase. +# Known limitation: the collector is built before the MeterProvider is +# registered, so beast::insight instruments bind to a no-op meter and are not +# exported yet. Tracing and the [telemetry] metrics pipeline are unaffected. [insight] -server=statsd -address=127.0.0.1:8125 +server=otel +endpoint=http://localhost:4318/v1/metrics prefix=xrpld