From e33e592128a02c8bf764fa38089344dec9b7211c Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Fri, 6 Mar 2026 16:56:31 +0000 Subject: [PATCH] Add transaction trace filters to Grafana Tempo datasource Add xrpl.tx.hash (static), xrpl.tx.local and xrpl.tx.status (dynamic) search filters for Phase 3 transaction span attributes. Co-Authored-By: Claude Opus 4.6 --- .../grafana/provisioning/datasources/tempo.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docker/telemetry/grafana/provisioning/datasources/tempo.yaml b/docker/telemetry/grafana/provisioning/datasources/tempo.yaml index 42892c91f3..682e1bbb13 100644 --- a/docker/telemetry/grafana/provisioning/datasources/tempo.yaml +++ b/docker/telemetry/grafana/provisioning/datasources/tempo.yaml @@ -7,6 +7,7 @@ # Each phase adds filters for the span attributes it introduces. # Phase 1b (infra): Base filters — node identity, service, span name, status. # Phase 2 (RPC): RPC command, status, role filters. +# Phase 3 (TX): Transaction hash, local/peer origin, status. apiVersion: 1 @@ -96,3 +97,19 @@ datasources: operator: "=" scope: span type: dynamic + # Phase 3: Transaction tracing filters + - id: tx-hash + tag: xrpl.tx.hash + operator: "=" + scope: span + type: static + - id: tx-origin + tag: xrpl.tx.local + operator: "=" + scope: span + type: dynamic + - id: tx-status + tag: xrpl.tx.status + operator: "=" + scope: span + type: dynamic