mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-27 07:26:51 +00:00
OTelCollector routes every instrument name through a static formatName() that only lowercases the name and maps '.' and space to '_'. The sole read of prefix_ is the startup log line at OTelCollector.cpp:802, and all four instrument factories go through formatName(), so no prefix can ever reach an exported name. StatsDCollector does prepend it, so the StatsD example keeps the key and now states why. Covers the three server=otel blocks in the 09 reference and the config integration-test.sh generates. This branch introduces OTelCollector, so it is where the inert examples first appear; phase-6's examples are all server=statsd and stay as they are.