mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 15:20:54 +00:00
fix(telemetry): use underscore form for span-link attribute key
The follows-from link attribute used the dotted xrpl.link.type form, which is reserved for resource attributes. Span attributes use the <domain>_<field> underscore form, so the key becomes link_type. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -144,7 +144,7 @@ namespace {
|
||||
// emitted by both linkedSpan() overloads. Custom xrpl attribute — not part
|
||||
// of the OTel semantic conventions, so defined here rather than pulled from
|
||||
// <opentelemetry/semconv/...>.
|
||||
constexpr char const* kLinkTypeKey = "xrpl.link.type";
|
||||
constexpr char const* kLinkTypeKey = "link_type";
|
||||
constexpr char const* kLinkTypeFollowsFrom = "follows_from";
|
||||
|
||||
// Map a TraceCategory to an OTel SpanKind so Tempo's service-graph /
|
||||
|
||||
Reference in New Issue
Block a user