[v9.3.x] Tempo: Send the correct start time when making a TraceQL query (#59219)

(cherry picked from commit 6d94fa6aa5)
Co-authored-by: Hamas Shafiq <hamas.shafiq@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2022-11-23 14:28:59 +00:00
committed by GitHub
parent e20a296176
commit f5d7e0ed92
@@ -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) => {