Skip to content

Link to span in tracing table gets broken when using transformation #106872

@velvolue

Description

@velvolue

What happened?

When adding a transformation, the span link gets broken. It no longer includes the query string with the trace ID.

Link (URL decoded) when enabling transformation:

https://[tenant].grafana.net/explore?left={"datasource":"[datasource]","queries":[{"query":"","queryType":"traceql"}],"panelsState":{"trace":{"spanId":"[span ID]"}}}

Notice the empty query string.

What did you expect to happen?

The link to not be broken by the transformation. This is the original link:

https://[tenant].grafana.net/explore?left={"datasource":"[datasource]","queries":[{"query":"[trace ID]","queryType":"traceql"}],"panelsState":{"trace":{"spanId":"[span ID]"}}}

Notice that the query string includes the trace ID.

Did this work before?

Don't know.

How do we reproduce it?

  1. Add table visualization with tracing (Tempo) datasource
  2. Add "Organize fields by name" transformation
  3. Observe that span link in table no longer includes trace ID in query

Is the bug inside a dashboard panel?

No response

Environment (with versions)?

Grafana: Grafana Cloud (steady)
OS: macOS 15.5
Browser: Edge 137.0.3296.68

Grafana platform?

I use Grafana Cloud

Datasource(s)?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions