Loki: Fix scope of labels variable being wrong (#78417)
fix scope of labels var
This commit is contained in:
@@ -120,14 +120,14 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 6 Fields by 2 Rows
|
||||
// +-------------------------+----------------------------------------+------------------+---------------------+-------------------------+------------------------------+
|
||||
// | Name: labels | Name: Time | Name: Line | Name: tsNs | Name: labelTypes | Name: id |
|
||||
// | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: |
|
||||
// | Type: []json.RawMessage | Type: []time.Time | Type: []string | Type: []string | Type: []json.RawMessage | Type: []string |
|
||||
// +-------------------------+----------------------------------------+------------------+---------------------+-------------------------+------------------------------+
|
||||
// | {} | 2022-02-16 16:50:44.81075712 +0000 UTC | log line error 1 | 1645030244810757120 | {} | 1645030244810757120_7bc6af55 |
|
||||
// | {} | 2022-02-16 16:50:47.02773504 +0000 UTC | log line info 1 | 1645030247027735040 | {} | 1645030247027735040_2c9e69b9 |
|
||||
// +-------------------------+----------------------------------------+------------------+---------------------+-------------------------+------------------------------+
|
||||
// +---------------------------------------+----------------------------------------+------------------+---------------------+-----------------------------+------------------------------+
|
||||
// | Name: labels | Name: Time | Name: Line | Name: tsNs | Name: labelTypes | Name: id |
|
||||
// | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: |
|
||||
// | Type: []json.RawMessage | Type: []time.Time | Type: []string | Type: []string | Type: []json.RawMessage | Type: []string |
|
||||
// +---------------------------------------+----------------------------------------+------------------+---------------------+-----------------------------+------------------------------+
|
||||
// | {"code":"one\",","location":"moon🌙"} | 2022-02-16 16:50:44.81075712 +0000 UTC | log line error 1 | 1645030244810757120 | {"code":"I","location":"I"} | 1645030244810757120_1d8c2178 |
|
||||
// | {"code":"\",two","location":"moon🌙"} | 2022-02-16 16:50:47.02773504 +0000 UTC | log line info 1 | 1645030247027735040 | {"code":"I","location":"I"} | 1645030247027735040_87a7aed2 |
|
||||
// +---------------------------------------+----------------------------------------+------------------+---------------------+-----------------------------+------------------------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
@@ -307,8 +307,14 @@
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
{},
|
||||
{}
|
||||
{
|
||||
"code": "one\",",
|
||||
"location": "moon🌙"
|
||||
},
|
||||
{
|
||||
"code": "\",two",
|
||||
"location": "moon🌙"
|
||||
}
|
||||
],
|
||||
[
|
||||
1645030244810,
|
||||
@@ -323,12 +329,18 @@
|
||||
"1645030247027735040"
|
||||
],
|
||||
[
|
||||
{},
|
||||
{}
|
||||
{
|
||||
"code": "I",
|
||||
"location": "I"
|
||||
},
|
||||
{
|
||||
"code": "I",
|
||||
"location": "I"
|
||||
}
|
||||
],
|
||||
[
|
||||
"1645030244810757120_7bc6af55",
|
||||
"1645030247027735040_2c9e69b9"
|
||||
"1645030244810757120_1d8c2178",
|
||||
"1645030247027735040_87a7aed2"
|
||||
]
|
||||
],
|
||||
"nanos": [
|
||||
|
||||
Reference in New Issue
Block a user