SSE/Prom: Undo empty frame change that triggers 500s in SSE (#61871)

added in https://github.com/grafana/grafana/pull/61643
This commit is contained in:
Kyle Brandt
2023-01-20 17:32:14 +00:00
committed by GitHub
parent 7a9793ec0e
commit 5bb38293d2
3 changed files with 0 additions and 48 deletions
@@ -30,12 +30,6 @@ func (s *QueryData) parseResponse(ctx context.Context, q *models.Query, res *htt
VectorWideSeries: s.enableWideSeries,
})
// The ExecutedQueryString can be viewed in QueryInspector in UI
// Add frame to attach metadata to it
if len(r.Frames) == 0 {
r.Frames = append(r.Frames, data.NewFrame(""))
}
for _, frame := range r.Frames {
if s.enableWideSeries {
addMetadataToWideFrame(q, frame)