fix(telemetry): align Tempo search tags with C++ span attribute names

RPC span attributes use bare names (command, rpc_status, rpc_role) per
the naming convention in SpanNames.h, not xrpl.rpc.* qualified names.
Node health attributes (amendment_blocked, server_state) are resource
attributes set at Tracer init, not span attributes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pratik Mankawde
2026-05-14 13:58:13 +01:00
parent 7b9e0bc300
commit 6f403fdd1b

View File

@@ -92,28 +92,28 @@ datasources:
type: static
# Phase 2: RPC tracing filters
- id: rpc-command
tag: xrpl.rpc.command
tag: command
operator: "="
scope: span
type: static
- id: rpc-status
tag: xrpl.rpc.status
tag: rpc_status
operator: "="
scope: span
type: dynamic
- id: rpc-role
tag: xrpl.rpc.role
tag: rpc_role
operator: "="
scope: span
type: dynamic
# Phase 2: Node health filters (Task 2.8)
# Phase 2: Node health filters (Task 2.8) — resource attributes
- id: node-amendment-blocked
tag: xrpl.node.amendment_blocked
operator: "="
scope: span
scope: resource
type: static
- id: node-server-state
tag: xrpl.node.server_state
operator: "="
scope: span
scope: resource
type: dynamic