@ -21,21 +21,9 @@ export function appendResponseToBufferedData(response: LokiTailResponse, data: M
return;
}
letbaseLabels: Labels={};
for(constfofdata.fields){
if(f.type===FieldType.string){
if(f.labels){
baseLabels=f.labels;
}
break;
}
}
constlabelsField=data.fields[0];
consttsField=data.fields[1];
constlineField=data.fields[2];
constidField=data.fields[3];
consttsNsField=data.fields[4];
consttsField=data.fields[0];
constlineField=data.fields[1];
constidField=data.fields[2];
// We are comparing used ids only within the received stream. This could be a problem if the same line + labels + nanosecond timestamp came in 2 separate batches.
// As this is very unlikely, and the result would only affect live-tailing css animation we have decided to not compare all received uids from data param as this would slow down processing.
@ -43,7 +31,6 @@ export function appendResponseToBufferedData(response: LokiTailResponse, data: M