grafana/pkg/tsdb/influxdb/flux/testdata/multitime.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

330 lines
17 KiB
Plaintext

// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name: cpu
// Dimensions: 3 Fields by 1 Rows
// +---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
// | Name: _time | Name: _time2 | Name: _value |
// | Labels: _field=usage_guest, _start=2021-05-08 14:59:57 +0000 UTC, _stop=2021-05-08 15:00:57 +0000 UTC, cpu=cpu1, host=hst | Labels: _field=usage_guest, _start=2021-05-08 14:59:57 +0000 UTC, _stop=2021-05-08 15:00:57 +0000 UTC, cpu=cpu1, host=hst | Labels: _field=usage_guest, _start=2021-05-08 14:59:57 +0000 UTC, _stop=2021-05-08 15:00:57 +0000 UTC, cpu=cpu1, host=hst |
// | Type: []*time.Time | Type: []*time.Time | Type: []*float64 |
// +---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
// | 2021-05-08 15:00:00 +0000 UTC | 2021-05-08 15:10:00 +0000 UTC | 0 |
// +---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
//
//
//
// Frame[1]
// Name: cpu
// Dimensions: 3 Fields by 1 Rows
// +---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
// | Name: _time | Name: _time2 | Name: _value |
// | Labels: _field=usage_guest, _start=2021-05-08 14:59:57 +0000 UTC, _stop=2021-05-08 15:00:57 +0000 UTC, cpu=cpu2, host=hst | Labels: _field=usage_guest, _start=2021-05-08 14:59:57 +0000 UTC, _stop=2021-05-08 15:00:57 +0000 UTC, cpu=cpu2, host=hst | Labels: _field=usage_guest, _start=2021-05-08 14:59:57 +0000 UTC, _stop=2021-05-08 15:00:57 +0000 UTC, cpu=cpu2, host=hst |
// | Type: []*time.Time | Type: []*time.Time | Type: []*float64 |
// +---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
// | 2021-05-08 15:00:00 +0000 UTC | 2021-05-08 15:10:00 +0000 UTC | 0 |
// +---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
//
//
//
// Frame[2]
// Name: cpu
// Dimensions: 3 Fields by 1 Rows
// +--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+
// | Name: _time | Name: _time2 | Name: _value |
// | Labels: _field=usage_idle, _start=2021-05-08 14:59:57 +0000 UTC, _stop=2021-05-08 15:00:57 +0000 UTC, cpu=cpu1, host=hst | Labels: _field=usage_idle, _start=2021-05-08 14:59:57 +0000 UTC, _stop=2021-05-08 15:00:57 +0000 UTC, cpu=cpu1, host=hst | Labels: _field=usage_idle, _start=2021-05-08 14:59:57 +0000 UTC, _stop=2021-05-08 15:00:57 +0000 UTC, cpu=cpu1, host=hst |
// | Type: []*time.Time | Type: []*time.Time | Type: []*float64 |
// +--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+
// | 2021-05-08 15:00:00 +0000 UTC | 2021-05-08 15:10:00 +0000 UTC | 98 |
// +--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+
//
//
//
// Frame[3]
// Name: cpu
// Dimensions: 3 Fields by 1 Rows
// +--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+
// | Name: _time | Name: _time2 | Name: _value |
// | Labels: _field=usage_idle, _start=2021-05-08 14:59:57 +0000 UTC, _stop=2021-05-08 15:00:57 +0000 UTC, cpu=cpu2, host=hst | Labels: _field=usage_idle, _start=2021-05-08 14:59:57 +0000 UTC, _stop=2021-05-08 15:00:57 +0000 UTC, cpu=cpu2, host=hst | Labels: _field=usage_idle, _start=2021-05-08 14:59:57 +0000 UTC, _stop=2021-05-08 15:00:57 +0000 UTC, cpu=cpu2, host=hst |
// | Type: []*time.Time | Type: []*time.Time | Type: []*float64 |
// +--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+
// | 2021-05-08 15:00:00 +0000 UTC | 2021-05-08 15:10:00 +0000 UTC | 99 |
// +--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------+
//
//
// 🌟 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
},
"labels": {
"_field": "usage_guest",
"_start": "2021-05-08 14:59:57 +0000 UTC",
"_stop": "2021-05-08 15:00:57 +0000 UTC",
"cpu": "cpu1",
"host": "hst"
}
},
{
"name": "_time2",
"type": "time",
"typeInfo": {
"frame": "time.Time",
"nullable": true
},
"labels": {
"_field": "usage_guest",
"_start": "2021-05-08 14:59:57 +0000 UTC",
"_stop": "2021-05-08 15:00:57 +0000 UTC",
"cpu": "cpu1",
"host": "hst"
}
},
{
"name": "_value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"_field": "usage_guest",
"_start": "2021-05-08 14:59:57 +0000 UTC",
"_stop": "2021-05-08 15:00:57 +0000 UTC",
"cpu": "cpu1",
"host": "hst"
}
}
]
},
"data": {
"values": [
[
1620486000000
],
[
1620486600000
],
[
0
]
]
}
},
{
"schema": {
"name": "cpu",
"fields": [
{
"name": "_time",
"type": "time",
"typeInfo": {
"frame": "time.Time",
"nullable": true
},
"labels": {
"_field": "usage_guest",
"_start": "2021-05-08 14:59:57 +0000 UTC",
"_stop": "2021-05-08 15:00:57 +0000 UTC",
"cpu": "cpu2",
"host": "hst"
}
},
{
"name": "_time2",
"type": "time",
"typeInfo": {
"frame": "time.Time",
"nullable": true
},
"labels": {
"_field": "usage_guest",
"_start": "2021-05-08 14:59:57 +0000 UTC",
"_stop": "2021-05-08 15:00:57 +0000 UTC",
"cpu": "cpu2",
"host": "hst"
}
},
{
"name": "_value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"_field": "usage_guest",
"_start": "2021-05-08 14:59:57 +0000 UTC",
"_stop": "2021-05-08 15:00:57 +0000 UTC",
"cpu": "cpu2",
"host": "hst"
}
}
]
},
"data": {
"values": [
[
1620486000000
],
[
1620486600000
],
[
0
]
]
}
},
{
"schema": {
"name": "cpu",
"fields": [
{
"name": "_time",
"type": "time",
"typeInfo": {
"frame": "time.Time",
"nullable": true
},
"labels": {
"_field": "usage_idle",
"_start": "2021-05-08 14:59:57 +0000 UTC",
"_stop": "2021-05-08 15:00:57 +0000 UTC",
"cpu": "cpu1",
"host": "hst"
}
},
{
"name": "_time2",
"type": "time",
"typeInfo": {
"frame": "time.Time",
"nullable": true
},
"labels": {
"_field": "usage_idle",
"_start": "2021-05-08 14:59:57 +0000 UTC",
"_stop": "2021-05-08 15:00:57 +0000 UTC",
"cpu": "cpu1",
"host": "hst"
}
},
{
"name": "_value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"_field": "usage_idle",
"_start": "2021-05-08 14:59:57 +0000 UTC",
"_stop": "2021-05-08 15:00:57 +0000 UTC",
"cpu": "cpu1",
"host": "hst"
}
}
]
},
"data": {
"values": [
[
1620486000000
],
[
1620486600000
],
[
98
]
]
}
},
{
"schema": {
"name": "cpu",
"fields": [
{
"name": "_time",
"type": "time",
"typeInfo": {
"frame": "time.Time",
"nullable": true
},
"labels": {
"_field": "usage_idle",
"_start": "2021-05-08 14:59:57 +0000 UTC",
"_stop": "2021-05-08 15:00:57 +0000 UTC",
"cpu": "cpu2",
"host": "hst"
}
},
{
"name": "_time2",
"type": "time",
"typeInfo": {
"frame": "time.Time",
"nullable": true
},
"labels": {
"_field": "usage_idle",
"_start": "2021-05-08 14:59:57 +0000 UTC",
"_stop": "2021-05-08 15:00:57 +0000 UTC",
"cpu": "cpu2",
"host": "hst"
}
},
{
"name": "_value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"_field": "usage_idle",
"_start": "2021-05-08 14:59:57 +0000 UTC",
"_stop": "2021-05-08 15:00:57 +0000 UTC",
"cpu": "cpu2",
"host": "hst"
}
}
]
},
"data": {
"values": [
[
1620486000000
],
[
1620486600000
],
[
99
]
]
}
}
]
}