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

124 lines
3.3 KiB
Plaintext

// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ],
// "preferredVisualisationType": "graph",
// "executedQueryString": "Test raw query"
// }
// Name: cpu.upc.mean { datacenter: America }
// Dimensions: 2 Fields by 1 Rows
// +-----------------------------------+----------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: datacenter=America |
// | Type: []time.Time | Type: []*float64 |
// +-----------------------------------+----------------------------+
// | 1970-01-01 00:00:00.111 +0000 UTC | 222 |
// +-----------------------------------+----------------------------+
//
//
//
// Frame[1]
// Name: logins.count.mean { datacenter: America }
// Dimensions: 2 Fields by 1 Rows
// +-----------------------------------+----------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: datacenter=America |
// | Type: []time.Time | Type: []*float64 |
// +-----------------------------------+----------------------------+
// | 1970-01-01 00:00:00.111 +0000 UTC | 222 |
// +-----------------------------------+----------------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"name": "cpu.upc.mean { datacenter: America }",
"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
},
"labels": {
"datacenter": "America"
},
"config": {
"displayNameFromDS": "cpu.upc.mean { datacenter: America }"
}
}
]
},
"data": {
"values": [
[
111
],
[
222
]
]
}
},
{
"schema": {
"name": "logins.count.mean { datacenter: America }",
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"datacenter": "America"
},
"config": {
"displayNameFromDS": "logins.count.mean { datacenter: America }"
}
}
]
},
"data": {
"values": [
[
111
],
[
222
]
]
}
}
]
}