loki: generate dataplane-compliant logs dataframes (behind feature flag) (#69909)

* add feature flag

* prepare tests

* enable dataplane-format in loki-backend
This commit is contained in:
Gábor Farkas
2023-07-13 09:58:00 +02:00
committed by GitHub
parent 9990d5025d
commit e045860fbf
57 changed files with 4435 additions and 23 deletions

View File

@@ -0,0 +1,29 @@
{
"status": "success",
"data": {
"resultType": "streams",
"result": [
{
"stream": { "__error__": "LogfmtParserErr", "place": "moon" },
"values": [
["1655448591000000000", "\"hello1"],
["1655448594000000000", "\"hello4"]
]
},
{
"stream": {
"place": "moon",
"text": "hello3"
},
"values": [["1655448592000000000", "text=hello2"]]
},
{
"stream": {
"place": "moon",
"text": "hello4"
},
"values": [["1655448593000000000", "text=hello3"]]
}
]
}
}