query_hints.ts
3.22 KB
-
Explore: Fix JS error when switching between 2 prometheus datasources · 91ea8dcc
- since the DataQuery rewrite, Explore starts by submitting its queries (Explore cant know if the queries are emtpty) - The datasource intercepts an empty query and returns an empty list of time series, and also no table for the table query. - The query hinter then received no series to analyse and was not guarding against this. - This PR adds this guard.
David Kaltschmidt committed