Logs: Update logic to process logs dataPlane frame with labels field (#77708)
* Logs: Update dataplane logic to use labels instead of attributes * Update Loki logs data plane data frame according to specs * Remove only in test
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
// Name:
|
||||
// Dimensions: 4 Fields by 4 Rows
|
||||
// +------------------------------------------------+-------------------------------+----------------+------------------------------+
|
||||
// | Name: attributes | Name: timestamp | Name: body | Name: id |
|
||||
// | Name: labels | Name: timestamp | Name: body | Name: id |
|
||||
// | Labels: | Labels: | Labels: | Labels: |
|
||||
// | Type: []json.RawMessage | Type: []time.Time | Type: []string | Type: []string |
|
||||
// +------------------------------------------------+-------------------------------+----------------+------------------------------+
|
||||
@@ -38,7 +38,7 @@
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"name": "attributes",
|
||||
"name": "labels",
|
||||
"type": "other",
|
||||
"typeInfo": {
|
||||
"frame": "json.RawMessage"
|
||||
|
||||
Reference in New Issue
Block a user