Skip to content

Tempo: Interpolate variables in traceQL queries #57872

@aocenas

Description

@aocenas

When sending query we have to first interpolate any variables there

q: targets.traceql[0].query,
.

Similar to prometheus and other datasources:

applyTemplateVariables(target: PromQuery, scopedVars: ScopedVars): Record<string, any> {

Metadata

Metadata

Assignees

Labels

datasource/Tempoprio/mediumImportant over the long term, but may not be staffed and/or may need multiple releases to complete.type/bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions