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
This commit is contained in:
ismail simsek
2023-11-29 16:19:46 +01:00
committed by GitHub
parent 2b51f0e263
commit 23c7211f1d
59 changed files with 15021 additions and 1376 deletions
@@ -0,0 +1,76 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ],
// "preferredVisualisationType": "table",
// "executedQueryString": "Test raw query"
// }
// Name: cpu
// Dimensions: 2 Fields by 3 Rows
// +-----------------------------------+------------------+
// | Name: Time | Name: mean |
// | Labels: | Labels: |
// | Type: []time.Time | Type: []*float64 |
// +-----------------------------------+------------------+
// | 1970-01-01 00:00:00.1 +0000 UTC | 50 |
// | 1970-01-01 00:00:00.101 +0000 UTC | null |
// | 1970-01-01 00:00:00.102 +0000 UTC | 52 |
// +-----------------------------------+------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"name": "cpu",
"meta": {
"typeVersion": [
0,
0
],
"preferredVisualisationType": "table",
"executedQueryString": "Test raw query"
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "mean",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"config": {
"displayNameFromDS": "mean"
}
}
]
},
"data": {
"values": [
[
100,
101,
102
],
[
50,
null,
52
]
]
}
}
]
}