loki: Fix adding refId to rowId (#53932)

This commit is contained in:
Gábor Farkas
2022-08-22 13:09:33 +02:00
committed by GitHub
parent 895616a231
commit 395e443932
5 changed files with 37 additions and 38 deletions

View File

@ -128,7 +128,7 @@ func adjustLogsFrame(frame *data.Frame, query *lokiQuery) error {
// so we send a separate timestamp-as-string field too. it is provided by the
// loki-json-parser-code
idField, err := makeIdField(stringTimeField, lineField, labelsField, frame.RefID)
idField, err := makeIdField(stringTimeField, lineField, labelsField, query.RefID)
if err != nil {
return err
}