mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 04:04:00 -06:00
ee9620e4e0
* Logs: Fix duplicate uids by appending series refIds * Fix id generation in loki live streams to be consistent * Update public/app/core/logsModel.ts Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com> * Fix test --------- Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
129 lines
4.1 KiB
Plaintext
129 lines
4.1 KiB
Plaintext
// 🌟 This was machine generated. Do not edit. 🌟
|
|
//
|
|
// Frame[0] {
|
|
// "typeVersion": [
|
|
// 0,
|
|
// 0
|
|
// ],
|
|
// "custom": {
|
|
// "frameType": "LabeledTimeValues"
|
|
// },
|
|
// "executedQueryString": "Expr: query1"
|
|
// }
|
|
// Name:
|
|
// Dimensions: 5 Fields by 4 Rows
|
|
// +------------------------------------------------+-------------------------------+----------------+---------------------+------------------------------+
|
|
// | Name: labels | Name: Time | Name: Line | Name: tsNs | Name: id |
|
|
// | Labels: | Labels: | Labels: | Labels: | Labels: |
|
|
// | Type: []json.RawMessage | Type: []time.Time | Type: []string | Type: []string | Type: []string |
|
|
// +------------------------------------------------+-------------------------------+----------------+---------------------+------------------------------+
|
|
// | {"__error__":"LogfmtParserErr","place":"moon"} | 2022-06-17 06:49:51 +0000 UTC | "hello1 | 1655448591000000000 | 1655448591000000000_44cbf4ec |
|
|
// | {"__error__":"LogfmtParserErr","place":"moon"} | 2022-06-17 06:49:54 +0000 UTC | "hello4 | 1655448594000000000 | 1655448594000000000_408b3f5b |
|
|
// | {"place":"moon","text":"hello3"} | 2022-06-17 06:49:52 +0000 UTC | text=hello2 | 1655448592000000000 | 1655448592000000000_d1b2086 |
|
|
// | {"place":"moon","text":"hello4"} | 2022-06-17 06:49:53 +0000 UTC | text=hello3 | 1655448593000000000 | 1655448593000000000_45714922 |
|
|
// +------------------------------------------------+-------------------------------+----------------+---------------------+------------------------------+
|
|
//
|
|
//
|
|
// 🌟 This was machine generated. Do not edit. 🌟
|
|
{
|
|
"status": 200,
|
|
"frames": [
|
|
{
|
|
"schema": {
|
|
"meta": {
|
|
"typeVersion": [
|
|
0,
|
|
0
|
|
],
|
|
"custom": {
|
|
"frameType": "LabeledTimeValues"
|
|
},
|
|
"executedQueryString": "Expr: query1"
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "labels",
|
|
"type": "other",
|
|
"typeInfo": {
|
|
"frame": "json.RawMessage"
|
|
}
|
|
},
|
|
{
|
|
"name": "Time",
|
|
"type": "time",
|
|
"typeInfo": {
|
|
"frame": "time.Time"
|
|
}
|
|
},
|
|
{
|
|
"name": "Line",
|
|
"type": "string",
|
|
"typeInfo": {
|
|
"frame": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "tsNs",
|
|
"type": "string",
|
|
"typeInfo": {
|
|
"frame": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "string",
|
|
"typeInfo": {
|
|
"frame": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"data": {
|
|
"values": [
|
|
[
|
|
{
|
|
"__error__": "LogfmtParserErr",
|
|
"place": "moon"
|
|
},
|
|
{
|
|
"__error__": "LogfmtParserErr",
|
|
"place": "moon"
|
|
},
|
|
{
|
|
"place": "moon",
|
|
"text": "hello3"
|
|
},
|
|
{
|
|
"place": "moon",
|
|
"text": "hello4"
|
|
}
|
|
],
|
|
[
|
|
1655448591000,
|
|
1655448594000,
|
|
1655448592000,
|
|
1655448593000
|
|
],
|
|
[
|
|
"\"hello1",
|
|
"\"hello4",
|
|
"text=hello2",
|
|
"text=hello3"
|
|
],
|
|
[
|
|
"1655448591000000000",
|
|
"1655448594000000000",
|
|
"1655448592000000000",
|
|
"1655448593000000000"
|
|
],
|
|
[
|
|
"1655448591000000000_44cbf4ec",
|
|
"1655448594000000000_408b3f5b",
|
|
"1655448592000000000_d1b2086",
|
|
"1655448593000000000_45714922"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |