Merge branch 'pratik/otel-phase7-native-metrics' into pratik/otel-phase8-log-correlation

This commit is contained in:
Pratik Mankawde
2026-08-15 17:49:18 +01:00

View File

@@ -61,10 +61,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