grafana/pkg/tsdb/influxdb/influxql/testdata/response.table.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

154 lines
4.4 KiB
Plaintext

// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ],
// "preferredVisualisationType": "table",
// "executedQueryString": "Test raw query"
// }
// Name: cpu.upc
// Dimensions: 8 Fields by 1 Rows
// +-----------------------------------+------------------+----------------------+--------------------+----------------------+----------------------+------------------+------------------+
// | Name: Time | Name: datacenter | Name: dc.region.name | Name: cluster-name | Name: /cluster/name/ | Name: @cluster@name@ | Name: mean | Name: sum |
// | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: |
// | Type: []time.Time | Type: []*string | Type: []*string | Type: []*string | Type: []*string | Type: []*string | Type: []*float64 | Type: []*float64 |
// +-----------------------------------+------------------+----------------------+--------------------+----------------------+----------------------+------------------+------------------+
// | 1970-01-01 00:00:00.111 +0000 UTC | America | Northeast | Cluster | Cluster/ | Cluster@ | 222 | 333 |
// +-----------------------------------+------------------+----------------------+--------------------+----------------------+----------------------+------------------+------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"name": "cpu.upc",
"meta": {
"typeVersion": [
0,
0
],
"preferredVisualisationType": "table",
"executedQueryString": "Test raw query"
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "datacenter",
"type": "string",
"typeInfo": {
"frame": "string",
"nullable": true
},
"config": {
"displayNameFromDS": "datacenter"
}
},
{
"name": "dc.region.name",
"type": "string",
"typeInfo": {
"frame": "string",
"nullable": true
},
"config": {
"displayNameFromDS": "dc.region.name"
}
},
{
"name": "cluster-name",
"type": "string",
"typeInfo": {
"frame": "string",
"nullable": true
},
"config": {
"displayNameFromDS": "cluster-name"
}
},
{
"name": "/cluster/name/",
"type": "string",
"typeInfo": {
"frame": "string",
"nullable": true
},
"config": {
"displayNameFromDS": "/cluster/name/"
}
},
{
"name": "@cluster@name@",
"type": "string",
"typeInfo": {
"frame": "string",
"nullable": true
},
"config": {
"displayNameFromDS": "@cluster@name@"
}
},
{
"name": "mean",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"config": {
"displayNameFromDS": "mean"
}
},
{
"name": "sum",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"config": {
"displayNameFromDS": "sum"
}
}
]
},
"data": {
"values": [
[
111
],
[
"America"
],
[
"Northeast"
],
[
"Cluster"
],
[
"Cluster/"
],
[
"Cluster@"
],
[
222
],
[
333
]
]
}
}
]
}