mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-27 23:38:08 +00:00
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:
@@ -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: "="
|
||||
|
||||
Reference in New Issue
Block a user