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

139 lines
3.8 KiB
Plaintext

// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ],
// "preferredVisualisationType": "table",
// "executedQueryString": "Test raw query"
// }
// Name:
// Dimensions: 5 Fields by 5 Rows
// +-----------------+-----------------+--------------------------+------------------+---------------+
// | Name: name | Name: duration | Name: shardGroupDuration | Name: replicaN | Name: default |
// | Labels: | Labels: | Labels: | Labels: | Labels: |
// | Type: []*string | Type: []*string | Type: []*string | Type: []*float64 | Type: []*bool |
// +-----------------+-----------------+--------------------------+------------------+---------------+
// | default | 0s | 168h0m0s | 1 | true |
// | autogen | 0s | 168h0m0s | 1 | false |
// | bar | 0s | 168h0m0s | 1 | false |
// | 5m_avg | 0s | 168h0m0s | 1 | false |
// | 1m_avg | 0s | 168h0m0s | 1 | false |
// +-----------------+-----------------+--------------------------+------------------+---------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"typeVersion": [
0,
0
],
"preferredVisualisationType": "table",
"executedQueryString": "Test raw query"
},
"fields": [
{
"name": "name",
"type": "string",
"typeInfo": {
"frame": "string",
"nullable": true
},
"config": {
"displayNameFromDS": "name"
}
},
{
"name": "duration",
"type": "string",
"typeInfo": {
"frame": "string",
"nullable": true
},
"config": {
"displayNameFromDS": "duration"
}
},
{
"name": "shardGroupDuration",
"type": "string",
"typeInfo": {
"frame": "string",
"nullable": true
},
"config": {
"displayNameFromDS": "shardGroupDuration"
}
},
{
"name": "replicaN",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"config": {
"displayNameFromDS": "replicaN"
}
},
{
"name": "default",
"type": "boolean",
"typeInfo": {
"frame": "bool",
"nullable": true
},
"config": {
"displayNameFromDS": "default"
}
}
]
},
"data": {
"values": [
[
"default",
"autogen",
"bar",
"5m_avg",
"1m_avg"
],
[
"0s",
"0s",
"0s",
"0s",
"0s"
],
[
"168h0m0s",
"168h0m0s",
"168h0m0s",
"168h0m0s",
"168h0m0s"
],
[
1,
1,
1,
1,
1
],
[
true,
false,
false,
false,
false
]
]
}
}
]
}