mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
xrpl_branch and xrpl_node_role are stamped by the perf-iac harness -- infrastructure outside this repo's OTel code -- so they have no L1 (*SpanNames.h), L2 (collector config), or L6 (MetricsRegistry.cpp) source Rule D can derive them from. Unlike the generic builtins set (Prometheus/ Grafana mechanics every OTel setup has), these are repo-specific and narrow, so they get their own EXTERNAL_INFRA_LABELS constant: a visible, documented, deliberately narrow exception to the 'no hardcoded allowlist' design principle, not a silent workaround. Add test coverage. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>