mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-21 14:20:56 +00:00
fix(telemetry): switch sample config to server=otel
This branch removes the collector's StatsD receiver and un-publishes 8125/udp, but xrpld-telemetry.cfg still selected server=statsd, so the sample config sent beast::insight metrics over UDP to a port nothing listens on. Phase7_taskList.md:132 lists this switch as required work. Select server=otel and replace address= with the OTLP metrics endpoint. Document that endpoint and prefix are informational only, since OTelCollector records on the global MeterProvider that [telemetry] configures and formatName() applies no prefix, and note that beast instruments are not exported yet because the collector is constructed before the MeterProvider is registered.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user