mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* 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
124 lines
3.3 KiB
Plaintext
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
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |