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.
This commit is contained in:
Pratik Mankawde
2026-09-23 20:40:03 +01:00
parent 48fac7c47b
commit 08a4075bb5

View File

@@ -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: "="