mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 07:00:21 +00:00
State the rules so they stay consistent across code, collector, Tempo, dashboards, and docs: - Per-span-unique field -> bare name (the span name carries the domain). - Same concept on more than one span -> ONE shared key, reused verbatim and distinguished by span name, never tagged with the emitting workflow (e.g. ledger_hash, full_validation, proposal_trusted/validation_trusted). Defined once in the base SpanNames.h and re-exported by each domain header. - Collision qualifier <domain>_<field> only to separate DIFFERENT concepts that share a word, or the OTel-reserved status key (rpc_status, consensus_state). - Dotted xrpl.<...> is reserved for resource attributes (xrpl.network.*). Updates CONTRIBUTING.md (permanent home) and OpenTelemetryPlan §2.3.3.