From 08a4075bb5ad18d2f48084c7d47f41a61abd2712 Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Wed, 23 Sep 2026 20:40:03 +0100 Subject: [PATCH] feat(telemetry): Add Tempo search filters for the transaction accounts An operator searching traces by account needs the attribute to be a Grafana search filter, not just a span field. Add tx_account, tx_destination, tx_owner and tx_issuer to the transaction-tracing filter block of the Tempo datasource. tx_account is static because every transaction carries it; the others are dynamic because only some transaction types have those fields. --- .../provisioning/datasources/tempo.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docker/telemetry/grafana/provisioning/datasources/tempo.yaml b/docker/telemetry/grafana/provisioning/datasources/tempo.yaml index af1f2b2352..5b959f5d19 100644 --- a/docker/telemetry/grafana/provisioning/datasources/tempo.yaml +++ b/docker/telemetry/grafana/provisioning/datasources/tempo.yaml @@ -149,6 +149,29 @@ datasources: operator: "=" scope: span type: static + # One filter per account role a transaction names. tx_account is on + # every transaction; the rest appear only on the types that carry + # that field, so they are dynamic. + - id: tx-account + tag: tx_account + operator: "=" + scope: span + type: static + - id: tx-destination + tag: tx_destination + operator: "=" + scope: span + type: dynamic + - id: tx-owner + tag: tx_owner + operator: "=" + scope: span + type: dynamic + - id: tx-issuer + tag: tx_issuer + operator: "=" + scope: span + type: dynamic - id: tx-origin tag: local operator: "="