mirror of
https://github.com/XRPLF/rippled.git
synced 2026-03-15 09:12:25 +00:00
Replace StatsD UDP metric transport with native OpenTelemetry Metrics SDK export via OTLP/HTTP behind the existing beast::insight::Collector interface. - Task 7.1: Link opentelemetry-cpp to beast module in CMake when telemetry=ON - Task 7.2: New OTelCollector class mapping beast::insight instruments to OTel SDK (Counter, ObservableGauge, Histogram, Counter<uint64>) with OTLP/HTTP export via PeriodicMetricReader at 1s intervals - Task 7.3: Add server=otel branch to CollectorManager with endpoint config - Task 7.4: Update otel-collector-config.yaml to use OTLP receiver for metrics pipeline (StatsD receiver commented out for backward compat) - Task 7.5: Metric names preserved via dot-to-underscore formatting matching StatsD->Prometheus conventions - Task 7.6: Rename Grafana dashboards from statsd-* to system-*, update titles and UIDs from "StatsD" to "System Metrics" - Task 7.7: Update integration test to use server=otel, verify OTLP metrics - Task 7.8: Update runbook, TESTING.md, config reference, and data collection reference docs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Building documentation
Dependencies
Install these dependencies:
-
Doxygen: All major platforms have official binary distributions, or you can build from source.
-
MacOS: We recommend installing via Homebrew:
brew install doxygen. The executable will be installed in/usr/local/binwhich is already in the defaultPATH.If you use the official binary distribution, then you'll need to make Doxygen available to your command line. You can do this by adding a symbolic link from
/usr/local/binto thedoxygenexecutable. For example,$ ln -s /Applications/Doxygen.app/Contents/Resources/doxygen /usr/local/bin/doxygen
-
-
- Install a functioning Java runtime, if you don't already have one.
- Download
plantuml.jar.
-
- Linux: Install from your package manager.
- Windows: Use an official installer.
- MacOS: Install via Homebrew:
brew install graphviz.
Docker
Instead of installing the above dependencies locally, you can use the official build environment Docker image, which has all of them installed already.
- Install Docker
- Pull the image:
sudo docker pull rippleci/rippled-ci-builder:2944b78d22db
- Run the image from the project folder:
sudo docker run -v $PWD:/opt/rippled --rm rippleci/rippled-ci-builder:2944b78d22db
Build
There is a docs target in the CMake configuration.
mkdir build
cd build
cmake -Donly_docs=ON ..
cmake --build . --target docs --parallel
The output will be in build/docs/html.