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:
Ivana Huckova
2023-11-07 10:53:10 +01:00
committed by GitHub
parent f9fffd3ff1
commit d4a257bc8e
15 changed files with 57 additions and 57 deletions
@@ -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"