grafana/pkg/tsdb/influxdb/flux/testdata/multivalue.golden.jsonc
Kyle Brandt 52ed297ed5
Backend: Use latest plugin-sdk-go v0.149.1 (#63498)
Use latest github.com/grafana/grafana-plugin-sdk-go which includes changes to the TypeVersion property (always present in JSON).

Also included is squtil changes: SQL util - allow using the database scan type for converters
2023-02-21 09:06:15 -05:00

318 lines
15 KiB
Plaintext

// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name: cpu
// Dimensions: 3 Fields by 2 Rows
// +-------------------------------+---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
// | Name: _time | Name: _value | Name: _value2 |
// | Labels: | Labels: _field=usage_guest, _start=2021-05-08 08:03:17 +0000 UTC, _stop=2021-05-08 08:04:17 +0000 UTC, cpu=cpu1, host=hst | Labels: _field=usage_guest, _start=2021-05-08 08:03:17 +0000 UTC, _stop=2021-05-08 08:04:17 +0000 UTC, cpu=cpu1, host=hst |
// | Type: []*time.Time | Type: []*float64 | Type: []*float64 |
// +-------------------------------+---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
// | 2021-05-08 08:03:18 +0000 UTC | 0 | 100 |
// | 2021-05-08 08:03:28 +0000 UTC | 0 | 100 |
// +-------------------------------+---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
//
//
//
// Frame[1]
// Name: cpu
// Dimensions: 3 Fields by 2 Rows
// +-------------------------------+--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+
// | Name: _time | Name: _value | Name: _value2 |
// | Labels: | Labels: _field=usage_idle, _start=2021-05-08 08:03:17 +0000 UTC, _stop=2021-05-08 08:04:17 +0000 UTC, cpu=cpu1, host=hst | Labels: _field=usage_idle, _start=2021-05-08 08:03:17 +0000 UTC, _stop=2021-05-08 08:04:17 +0000 UTC, cpu=cpu1, host=hst |
// | Type: []*time.Time | Type: []*float64 | Type: []*float64 |
// +-------------------------------+--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+
// | 2021-05-08 08:03:18 +0000 UTC | 99 | 1 |
// | 2021-05-08 08:03:28 +0000 UTC | 98 | 2 |
// +-------------------------------+--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+
//
//
//
// Frame[2]
// Name: cpu
// Dimensions: 3 Fields by 2 Rows
// +-------------------------------+---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
// | Name: _time | Name: _value | Name: _value2 |
// | Labels: | Labels: _field=usage_guest, _start=2021-05-08 08:03:17 +0000 UTC, _stop=2021-05-08 08:04:17 +0000 UTC, cpu=cpu2, host=hst | Labels: _field=usage_guest, _start=2021-05-08 08:03:17 +0000 UTC, _stop=2021-05-08 08:04:17 +0000 UTC, cpu=cpu2, host=hst |
// | Type: []*time.Time | Type: []*float64 | Type: []*float64 |
// +-------------------------------+---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
// | 2021-05-08 08:03:18 +0000 UTC | 0 | 100 |
// | 2021-05-08 08:03:28 +0000 UTC | 0 | 100 |
// +-------------------------------+---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
//
//
//
// Frame[3]
// Name: cpu
// Dimensions: 3 Fields by 2 Rows
// +-------------------------------+--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+
// | Name: _time | Name: _value | Name: _value2 |
// | Labels: | Labels: _field=usage_idle, _start=2021-05-08 08:03:17 +0000 UTC, _stop=2021-05-08 08:04:17 +0000 UTC, cpu=cpu2, host=hst | Labels: _field=usage_idle, _start=2021-05-08 08:03:17 +0000 UTC, _stop=2021-05-08 08:04:17 +0000 UTC, cpu=cpu2, host=hst |
// | Type: []*time.Time | Type: []*float64 | Type: []*float64 |
// +-------------------------------+--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+
// | 2021-05-08 08:03:18 +0000 UTC | 59 | 41 |
// | 2021-05-08 08:03:28 +0000 UTC | 58 | 42 |
// +-------------------------------+--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"name": "cpu",
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "_time",
"type": "time",
"typeInfo": {
"frame": "time.Time",
"nullable": true
}
},
{
"name": "_value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"_field": "usage_guest",
"_start": "2021-05-08 08:03:17 +0000 UTC",
"_stop": "2021-05-08 08:04:17 +0000 UTC",
"cpu": "cpu1",
"host": "hst"
}
},
{
"name": "_value2",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"_field": "usage_guest",
"_start": "2021-05-08 08:03:17 +0000 UTC",
"_stop": "2021-05-08 08:04:17 +0000 UTC",
"cpu": "cpu1",
"host": "hst"
}
}
]
},
"data": {
"values": [
[
1620460998000,
1620461008000
],
[
0,
0
],
[
100,
100
]
]
}
},
{
"schema": {
"name": "cpu",
"fields": [
{
"name": "_time",
"type": "time",
"typeInfo": {
"frame": "time.Time",
"nullable": true
}
},
{
"name": "_value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"_field": "usage_idle",
"_start": "2021-05-08 08:03:17 +0000 UTC",
"_stop": "2021-05-08 08:04:17 +0000 UTC",
"cpu": "cpu1",
"host": "hst"
}
},
{
"name": "_value2",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"_field": "usage_idle",
"_start": "2021-05-08 08:03:17 +0000 UTC",
"_stop": "2021-05-08 08:04:17 +0000 UTC",
"cpu": "cpu1",
"host": "hst"
}
}
]
},
"data": {
"values": [
[
1620460998000,
1620461008000
],
[
99,
98
],
[
1,
2
]
]
}
},
{
"schema": {
"name": "cpu",
"fields": [
{
"name": "_time",
"type": "time",
"typeInfo": {
"frame": "time.Time",
"nullable": true
}
},
{
"name": "_value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"_field": "usage_guest",
"_start": "2021-05-08 08:03:17 +0000 UTC",
"_stop": "2021-05-08 08:04:17 +0000 UTC",
"cpu": "cpu2",
"host": "hst"
}
},
{
"name": "_value2",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"_field": "usage_guest",
"_start": "2021-05-08 08:03:17 +0000 UTC",
"_stop": "2021-05-08 08:04:17 +0000 UTC",
"cpu": "cpu2",
"host": "hst"
}
}
]
},
"data": {
"values": [
[
1620460998000,
1620461008000
],
[
0,
0
],
[
100,
100
]
]
}
},
{
"schema": {
"name": "cpu",
"fields": [
{
"name": "_time",
"type": "time",
"typeInfo": {
"frame": "time.Time",
"nullable": true
}
},
{
"name": "_value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"_field": "usage_idle",
"_start": "2021-05-08 08:03:17 +0000 UTC",
"_stop": "2021-05-08 08:04:17 +0000 UTC",
"cpu": "cpu2",
"host": "hst"
}
},
{
"name": "_value2",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"_field": "usage_idle",
"_start": "2021-05-08 08:03:17 +0000 UTC",
"_stop": "2021-05-08 08:04:17 +0000 UTC",
"cpu": "cpu2",
"host": "hst"
}
}
]
},
"data": {
"values": [
[
1620460998000,
1620461008000
],
[
59,
58
],
[
41,
42
]
]
}
}
]
}