Prometheus: Chore - Remove incorrect FrameType from exemplar frame (#57695)

This commit is contained in:
Kyle Brandt
2022-10-28 09:15:01 -04:00
committed by GitHub
parent 6a6fdbc1f9
commit 2cd9cbd359
5 changed files with 10 additions and 7 deletions
@@ -160,7 +160,6 @@ func processExemplars(q *models.Query, dr *backend.DataResponse) *backend.DataRe
// copy the frame metadata to the new exemplar frame
exemplarFrame.Meta = frame.Meta
exemplarFrame.RefID = frame.RefID
frame.Meta.Type = data.FrameTypeTimeSeriesMany
step := time.Duration(frame.Fields[0].Config.Interval) * time.Millisecond
seriesLabels := getSeriesLabels(frame)