Skip to content

Commit

Permalink
[v9.3.x] Tempo: Send the correct start time when making a TraceQL que…
Browse files Browse the repository at this point in the history
…ry (grafana#59219)

(cherry picked from commit 6d94fa6)
Co-authored-by: Hamas Shafiq <hamas.shafiq@grafana.com>
  • Loading branch information
grafanabot authored and GuaYounesPW committed Feb 8, 2023
1 parent 5c7dcca commit 731634e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/app/plugins/datasource/tempo/datasource.ts
Original file line number Diff line number Diff line change
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 731634e

Please sign in to comment.