grafana/pkg/tsdb/influxdb/influxql/testdata/simple_response.time_series.golden.jsonc
ismail simsek 23c7211f1d
Chore: InlfuxDB testing update (#78663)
* Prepare the test files

* use json files everywhere

* update golden json files

* disable update

* update test file

* fix naming

* lint

* InfluxDB: Add metadata information to first frame only (#78664)

* executedString in first frame only

* lint

* fix tests

* update tests

* don't update

* linting

* update

* update again
2023-11-29 16:19:46 +01:00

142 lines
3.7 KiB
Plaintext

// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ],
// "preferredVisualisationType": "graph",
// "executedQueryString": "Test raw query"
// }
// Name: cpu.usage_idle
// Dimensions: 2 Fields by 5 Rows
// +-------------------------------+-------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: |
// | Type: []time.Time | Type: []*float64 |
// +-------------------------------+-------------------+
// | 2023-11-15 23:15:20 +0000 UTC | 99.0255173802101 |
// | 2023-11-15 23:15:20 +0000 UTC | 99.29718875523953 |
// | 2023-11-15 23:15:20 +0000 UTC | 99.09456740445926 |
// | 2023-11-15 23:15:20 +0000 UTC | 99.39455095864957 |
// | 2023-11-15 23:15:20 +0000 UTC | 99.09729187566201 |
// +-------------------------------+-------------------+
//
//
//
// Frame[1]
// Name: cpu.usage_iowait
// Dimensions: 2 Fields by 5 Rows
// +-------------------------------+----------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: |
// | Type: []time.Time | Type: []*float64 |
// +-------------------------------+----------------------+
// | 2023-11-15 23:15:20 +0000 UTC | 0.020092425155804713 |
// | 2023-11-15 23:15:20 +0000 UTC | 0 |
// | 2023-11-15 23:15:20 +0000 UTC | 0 |
// | 2023-11-15 23:15:20 +0000 UTC | 0 |
// | 2023-11-15 23:15:20 +0000 UTC | 0 |
// +-------------------------------+----------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"name": "cpu.usage_idle",
"meta": {
"typeVersion": [
0,
0
],
"preferredVisualisationType": "graph",
"executedQueryString": "Test raw query"
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"config": {
"displayNameFromDS": "cpu.usage_idle"
}
}
]
},
"data": {
"values": [
[
1700090120000,
1700090120000,
1700090120000,
1700090120000,
1700090120000
],
[
99.0255173802101,
99.29718875523953,
99.09456740445926,
99.39455095864957,
99.09729187566201
]
]
}
},
{
"schema": {
"name": "cpu.usage_iowait",
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"config": {
"displayNameFromDS": "cpu.usage_iowait"
}
}
]
},
"data": {
"values": [
[
1700090120000,
1700090120000,
1700090120000,
1700090120000,
1700090120000
],
[
0.020092425155804713,
0,
0,
0,
0
]
]
}
}
]
}