Loki: Fix bug duplicating parsed labels across multiple log lines (#80292)

This commit is contained in:
Sven Grossmann
2024-01-11 15:09:13 +01:00
committed by GitHub
parent 1947919516
commit e1aa8a95d9
10 changed files with 1808 additions and 7 deletions
+1
View File
@@ -53,6 +53,7 @@ func TestSuccessResponse(t *testing.T) {
{name: "parse an empty response", filepath: "empty", query: matrixQuery},
{name: "parse structured metadata", filepath: "streams_structured_metadata", query: streamsQuery},
{name: "parse structured metadata different labels each log line", filepath: "streams_structured_metadata_2", query: streamsQuery},
}
runTest := func(folder string, path string, query lokiQuery, responseOpts ResponseOpts) {