Skip to content

Commit

Permalink
Tempo: Send the correct start time when making a TraceQL query (#59128)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6d94fa6)
  • Loading branch information
Hamas Shafiq authored and grafanabot committed Nov 23, 2022
1 parent 14878bc commit 3ed1b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/app/plugins/datasource/tempo/datasource.ts
Expand Up @@ -184,7 +184,7 @@ export class TempoDatasource extends DataSourceWithBackend<TempoQuery, TempoJson
this._request('/api/search', {
q: targets.traceql[0].query,
limit: options.targets[0].limit,
start: 0, // Currently the API doesn't return traces when using the 'From' time selected in Explore
start: options.range.from.unix(),
end: options.range.to.unix(),
}).pipe(
map((response) => {
Expand Down

0 comments on commit 3ed1b9d

Please sign in to comment.