From e77f2f0fa55d2e8e71fbf02584c5692b7f45d90c Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Fri, 6 Mar 2026 16:55:56 +0000 Subject: [PATCH] Add RPC trace filters to Grafana Tempo datasource Add xrpl.rpc.command (static), xrpl.rpc.status and xrpl.rpc.role (dynamic) search filters for Phase 2 RPC 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 11b89458a8..42892c91f3 100644 --- a/docker/telemetry/grafana/provisioning/datasources/tempo.yaml +++ b/docker/telemetry/grafana/provisioning/datasources/tempo.yaml @@ -6,6 +6,7 @@ # Search filters provide pre-configured dropdowns in the Explore UI. # 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. apiVersion: 1 @@ -79,3 +80,19 @@ datasources: operator: ">" scope: intrinsic type: static + # Phase 2: RPC tracing filters + - id: rpc-command + tag: xrpl.rpc.command + operator: "=" + scope: span + type: static + - id: rpc-status + tag: xrpl.rpc.status + operator: "=" + scope: span + type: dynamic + - id: rpc-role + tag: xrpl.rpc.role + operator: "=" + scope: span + type: dynamic