mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-21 06:10:58 +00:00
Two comment-only notes. MetricsRegistry.cpp: record why the app and overlay includes exist and what they cost. They are what makes loops.txt carry xrpld.app <-> xrpld.telemetry and xrpld.overlay <-> xrpld.telemetry, where ordering.txt previously had telemetry strictly below both. The observable gauges are pull-model, so their callbacks need the concrete types to sample live state. The cycle is confined to this translation unit: no telemetry header includes app or overlay, and all of src/xrpld builds into one target, so there is no header or link cycle. Inverting it needs a metrics-source interface below overlay, which is left as follow-up. Also note loops.txt is generated and must never be hand-edited. docker-compose.yml: state the Compose >= 2.24.0 floor. The grafana service uses the long-form env_file mapping, which older Compose cannot parse, and it fails for the whole file rather than that one service. The long form is required because .env.alerting is gitignored and absent in a fresh clone, and the short form treats a missing env file as an error.