mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Update InfluxDB response parser test files (#81899)
* add show diagnostics tests * update test files
This commit is contained in:
parent
ec1b669ce6
commit
994aedaac3
@ -43,6 +43,10 @@ func generateQuery(resFormat string, alias string) *models.Query {
|
||||
}
|
||||
}
|
||||
|
||||
// show_diagnostics file won't be added to test files because of its inconsistent
|
||||
// json data with other responses. But I do add it here just to have it.
|
||||
// It can be parsed with time_series response but not table.
|
||||
// It only works with InfluxDB v1.x. The usage of it is quite limited.
|
||||
var testFiles = []string{
|
||||
"all_values_are_null",
|
||||
"influx_select_all_from_cpu",
|
||||
|
@ -1,29 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"series": [
|
||||
{
|
||||
"name": "cpu",
|
||||
"columns": [
|
||||
"time",
|
||||
"mean"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
100,
|
||||
null
|
||||
],
|
||||
[
|
||||
101,
|
||||
null
|
||||
],
|
||||
[
|
||||
102,
|
||||
null
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"series":[{"name":"cpu","columns":["time","mean"],"values":[[100,null],[101,null],[102,null]]}]}]}
|
||||
|
@ -1,7 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"statement_id": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results": [{"statement_id": 0}]}
|
||||
|
@ -1,3 +1 @@
|
||||
{
|
||||
"error": "error parsing query: found THING"
|
||||
}
|
||||
{"error": "error parsing query: found THING"}
|
||||
|
@ -1,7 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"error": "query-timeout limit exceeded"
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"error":"query-timeout limit exceeded"}]}
|
||||
|
@ -1,44 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"statement_id": 0,
|
||||
"series": [
|
||||
{
|
||||
"name": "cpu",
|
||||
"columns": [
|
||||
"time",
|
||||
"mean_usage_guest",
|
||||
"mean_usage_nice",
|
||||
"mean_usage_idle"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1697984400000,
|
||||
1111,
|
||||
1112,
|
||||
1113
|
||||
],
|
||||
[
|
||||
1697984700000,
|
||||
2221,
|
||||
2222,
|
||||
2223
|
||||
],
|
||||
[
|
||||
1697985000000,
|
||||
3331,
|
||||
3332,
|
||||
3333
|
||||
],
|
||||
[
|
||||
1697985300000,
|
||||
4441,
|
||||
4442,
|
||||
4443
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"statement_id":0,"series":[{"name":"cpu","columns":["time","mean_usage_guest","mean_usage_nice","mean_usage_idle"],"values":[[1697984400000,1111,1112,1113],[1697984700000,2221,2222,2223],[1697985000000,3331,3332,3333],[1697985300000,4441,4442,4443]]}]}]}
|
||||
|
@ -1,33 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"series": [
|
||||
{
|
||||
"name": "cpu",
|
||||
"columns": [
|
||||
"time",
|
||||
"mean"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
100,
|
||||
50
|
||||
],
|
||||
[
|
||||
"hello",
|
||||
51
|
||||
],
|
||||
[
|
||||
"hello",
|
||||
"hello"
|
||||
],
|
||||
[
|
||||
102,
|
||||
52
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"series":[{"name":"cpu","columns":["time","mean"],"values":[[100,50],["hello",51],["hello","hello"],[102,52]]}]}]}
|
||||
|
@ -1,29 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"series": [
|
||||
{
|
||||
"name": "cpu",
|
||||
"columns": [
|
||||
"time",
|
||||
"mean"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
100,
|
||||
50
|
||||
],
|
||||
[
|
||||
101,
|
||||
"hello"
|
||||
],
|
||||
[
|
||||
102,
|
||||
52
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"series":[{"name":"cpu","columns":["time","mean"],"values":[[100,50],[101,"hello"],[102,52]]}]}]}
|
||||
|
@ -1,47 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"statement_id": 0,
|
||||
"series": [
|
||||
{
|
||||
"name": "measurements",
|
||||
"columns": [
|
||||
"name"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
"cpu"
|
||||
],
|
||||
[
|
||||
"disk"
|
||||
],
|
||||
[
|
||||
"diskio"
|
||||
],
|
||||
[
|
||||
"kernel"
|
||||
],
|
||||
[
|
||||
"logs"
|
||||
],
|
||||
[
|
||||
"mem"
|
||||
],
|
||||
[
|
||||
"myMeasurement"
|
||||
],
|
||||
[
|
||||
"processes"
|
||||
],
|
||||
[
|
||||
"swap"
|
||||
],
|
||||
[
|
||||
"system"
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"statement_id":0,"series":[{"name":"measurements","columns":["name"],"values":[["cpu"],["disk"],["diskio"],["kernel"],["logs"],["mem"],["myMeasurement"],["processes"],["swap"],["system"]]}]}]}
|
||||
|
@ -1,40 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"series": [
|
||||
{
|
||||
"name": "cpu.upc",
|
||||
"columns": [
|
||||
"time",
|
||||
"mean"
|
||||
],
|
||||
"tags": {
|
||||
"datacenter": "America"
|
||||
},
|
||||
"values": [
|
||||
[
|
||||
111,
|
||||
222
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "logins.count",
|
||||
"columns": [
|
||||
"time",
|
||||
"mean"
|
||||
],
|
||||
"tags": {
|
||||
"datacenter": "America"
|
||||
},
|
||||
"values": [
|
||||
[
|
||||
111,
|
||||
222
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"series":[{"name":"cpu.upc","columns":["time","mean"],"tags":{"datacenter":"America"},"values":[[111,222]]},{"name":"logins.count","columns":["time","mean"],"tags":{"datacenter":"America"},"values":[[111,222]]}]}]}
|
||||
|
@ -1,149 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"statement_id": 0,
|
||||
"series": [
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu-total"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.06919189833442
|
||||
],
|
||||
[
|
||||
1700047200000,
|
||||
99.13105510262923
|
||||
],
|
||||
[
|
||||
1700048400000,
|
||||
98.99236330721192
|
||||
],
|
||||
[
|
||||
1700049600000,
|
||||
98.80510091380069
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu0"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.01372119142576
|
||||
],
|
||||
[
|
||||
1700047200000,
|
||||
99.00430308480553
|
||||
],
|
||||
[
|
||||
1700048400000,
|
||||
98.9737996641964
|
||||
],
|
||||
[
|
||||
1700049600000,
|
||||
98.79638916754935
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu1"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.04949983158023
|
||||
],
|
||||
[
|
||||
1700047200000,
|
||||
99.06989461231551
|
||||
],
|
||||
[
|
||||
1700048400000,
|
||||
98.97954813782476
|
||||
],
|
||||
[
|
||||
1700049600000,
|
||||
98.49246231161365
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu2"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.11296419686643
|
||||
],
|
||||
[
|
||||
1700047200000,
|
||||
99.01817278917116
|
||||
],
|
||||
[
|
||||
1700048400000,
|
||||
98.96847021232013
|
||||
],
|
||||
[
|
||||
1700049600000,
|
||||
98.192771084406
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu3"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.0742704326151
|
||||
],
|
||||
[
|
||||
1700047200000,
|
||||
99.17835628293322
|
||||
],
|
||||
[
|
||||
1700048400000,
|
||||
98.98968994907334
|
||||
],
|
||||
[
|
||||
1700049600000,
|
||||
98.69215291745849
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"statement_id":0,"series":[{"name":"cpu","tags":{"cpu":"cpu-total"},"columns":["time","mean"],"values":[[1700046000000,99.06919189833442],[1700047200000,99.13105510262923],[1700048400000,98.99236330721192],[1700049600000,98.80510091380069]]},{"name":"cpu","tags":{"cpu":"cpu0"},"columns":["time","mean"],"values":[[1700046000000,99.01372119142576],[1700047200000,99.00430308480553],[1700048400000,98.9737996641964],[1700049600000,98.79638916754935]]},{"name":"cpu","tags":{"cpu":"cpu1"},"columns":["time","mean"],"values":[[1700046000000,99.04949983158023],[1700047200000,99.06989461231551],[1700048400000,98.97954813782476],[1700049600000,98.49246231161365]]},{"name":"cpu","tags":{"cpu":"cpu2"},"columns":["time","mean"],"values":[[1700046000000,99.11296419686643],[1700047200000,99.01817278917116],[1700048400000,98.96847021232013],[1700049600000,98.192771084406]]},{"name":"cpu","tags":{"cpu":"cpu3"},"columns":["time","mean"],"values":[[1700046000000,99.0742704326151],[1700047200000,99.17835628293322],[1700048400000,98.98968994907334],[1700049600000,98.69215291745849]]}]}]}
|
||||
|
@ -1,273 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"statement_id": 0,
|
||||
"series": [
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu-total"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean",
|
||||
"min",
|
||||
"p90",
|
||||
"p95",
|
||||
"max"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.06348570053983,
|
||||
97.3214285712978,
|
||||
99.2066680055868,
|
||||
99.24812030075188,
|
||||
99.31809065366402
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu0"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean",
|
||||
"min",
|
||||
"p90",
|
||||
"p95",
|
||||
"max"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
98.99671817733766,
|
||||
96.65991902847126,
|
||||
99.29364278499536,
|
||||
99.29718875523953,
|
||||
99.59839357421622
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu1"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean",
|
||||
"min",
|
||||
"p90",
|
||||
"p95",
|
||||
"max"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.03148357927465,
|
||||
96.67673715996412,
|
||||
99.39698492464545,
|
||||
99.39759036146867,
|
||||
99.59798994966731
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu2"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean",
|
||||
"min",
|
||||
"p90",
|
||||
"p95",
|
||||
"max"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.03087433486812,
|
||||
96.03658536600605,
|
||||
99.29859719431953,
|
||||
99.39759036146867,
|
||||
99.59879638908582
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu3"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean",
|
||||
"min",
|
||||
"p90",
|
||||
"p95",
|
||||
"max"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.0796957137731,
|
||||
97.37903225797402,
|
||||
99.39698492464723,
|
||||
99.39879759521435,
|
||||
99.4984954865762
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu4"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean",
|
||||
"min",
|
||||
"p90",
|
||||
"p95",
|
||||
"max"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.09573460946685,
|
||||
97.57330637016123,
|
||||
99.39759036146867,
|
||||
99.49698189117252,
|
||||
99.59839357450608
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu5"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean",
|
||||
"min",
|
||||
"p90",
|
||||
"p95",
|
||||
"max"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.0690883079725,
|
||||
96.65991902847126,
|
||||
99.39698492464545,
|
||||
99.39819458377468,
|
||||
99.59798994995865
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu6"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean",
|
||||
"min",
|
||||
"p90",
|
||||
"p95",
|
||||
"max"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.06475215715605,
|
||||
97.37108190081956,
|
||||
99.39698492464545,
|
||||
99.39879759521259,
|
||||
99.69879518073434
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu7"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean",
|
||||
"min",
|
||||
"p90",
|
||||
"p95",
|
||||
"max"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.06204005079694,
|
||||
97.7596741344093,
|
||||
99.39637826964127,
|
||||
99.39759036147042,
|
||||
99.59879638908698
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu8"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean",
|
||||
"min",
|
||||
"p90",
|
||||
"p95",
|
||||
"max"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.0999818796052,
|
||||
96.56565656568982,
|
||||
99.39698492464723,
|
||||
99.39819458377468,
|
||||
99.59758551299777
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"cpu": "cpu9"
|
||||
},
|
||||
"columns": [
|
||||
"time",
|
||||
"mean",
|
||||
"min",
|
||||
"p90",
|
||||
"p95",
|
||||
"max"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.10477313534511,
|
||||
96.8463886063268,
|
||||
99.39759036146867,
|
||||
99.39819458377468,
|
||||
99.59839357421622
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"statement_id":0,"series":[{"name":"cpu","tags":{"cpu":"cpu-total"},"columns":["time","mean","min","p90","p95","max"],"values":[[1700046000000,99.06348570053983,97.3214285712978,99.2066680055868,99.24812030075188,99.31809065366402]]},{"name":"cpu","tags":{"cpu":"cpu0"},"columns":["time","mean","min","p90","p95","max"],"values":[[1700046000000,98.99671817733766,96.65991902847126,99.29364278499536,99.29718875523953,99.59839357421622]]},{"name":"cpu","tags":{"cpu":"cpu1"},"columns":["time","mean","min","p90","p95","max"],"values":[[1700046000000,99.03148357927465,96.67673715996412,99.39698492464545,99.39759036146867,99.59798994966731]]},{"name":"cpu","tags":{"cpu":"cpu2"},"columns":["time","mean","min","p90","p95","max"],"values":[[1700046000000,99.03087433486812,96.03658536600605,99.29859719431953,99.39759036146867,99.59879638908582]]},{"name":"cpu","tags":{"cpu":"cpu3"},"columns":["time","mean","min","p90","p95","max"],"values":[[1700046000000,99.0796957137731,97.37903225797402,99.39698492464723,99.39879759521435,99.4984954865762]]},{"name":"cpu","tags":{"cpu":"cpu4"},"columns":["time","mean","min","p90","p95","max"],"values":[[1700046000000,99.09573460946685,97.57330637016123,99.39759036146867,99.49698189117252,99.59839357450608]]},{"name":"cpu","tags":{"cpu":"cpu5"},"columns":["time","mean","min","p90","p95","max"],"values":[[1700046000000,99.0690883079725,96.65991902847126,99.39698492464545,99.39819458377468,99.59798994995865]]},{"name":"cpu","tags":{"cpu":"cpu6"},"columns":["time","mean","min","p90","p95","max"],"values":[[1700046000000,99.06475215715605,97.37108190081956,99.39698492464545,99.39879759521259,99.69879518073434]]},{"name":"cpu","tags":{"cpu":"cpu7"},"columns":["time","mean","min","p90","p95","max"],"values":[[1700046000000,99.06204005079694,97.7596741344093,99.39637826964127,99.39759036147042,99.59879638908698]]},{"name":"cpu","tags":{"cpu":"cpu8"},"columns":["time","mean","min","p90","p95","max"],"values":[[1700046000000,99.0999818796052,96.56565656568982,99.39698492464723,99.39819458377468,99.59758551299777]]},{"name":"cpu","tags":{"cpu":"cpu9"},"columns":["time","mean","min","p90","p95","max"],"values":[[1700046000000,99.10477313534511,96.8463886063268,99.39759036146867,99.39819458377468,99.59839357421622]]}]}]}
|
||||
|
@ -1,34 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"statement_id": 0,
|
||||
"series": [
|
||||
{
|
||||
"name": "cpu",
|
||||
"columns": [
|
||||
"time",
|
||||
"mean"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700046000000,
|
||||
99.0693929754458
|
||||
],
|
||||
[
|
||||
1700047200000,
|
||||
99.13073313839024
|
||||
],
|
||||
[
|
||||
1700048400000,
|
||||
98.99278645182834
|
||||
],
|
||||
[
|
||||
1700049600000,
|
||||
98.77818123433566
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"statement_id":0,"series":[{"name":"cpu","columns":["time","mean"],"values":[[1700046000000,99.0693929754458],[1700047200000,99.13073313839024],[1700048400000,98.99278645182834],[1700049600000,98.77818123433566]]}]}]}
|
||||
|
@ -1,30 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"series": [
|
||||
{
|
||||
"name": "cpu.upc",
|
||||
"columns": [
|
||||
"time",
|
||||
"mean",
|
||||
"sum"
|
||||
],
|
||||
"tags": {
|
||||
"datacenter": "America",
|
||||
"dc.region.name": "Northeast",
|
||||
"cluster-name": "Cluster",
|
||||
"/cluster/name/": "Cluster/",
|
||||
"@cluster@name@": "Cluster@"
|
||||
},
|
||||
"values": [
|
||||
[
|
||||
111,
|
||||
222,
|
||||
333
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"series":[{"name":"cpu.upc","columns":["time","mean","sum"],"tags":{"datacenter":"America","dc.region.name":"Northeast","cluster-name":"Cluster","/cluster/name/":"Cluster/","@cluster@name@":"Cluster@"},"values":[[111,222,333]]}]}]}
|
||||
|
@ -1,40 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"series": [
|
||||
{
|
||||
"name": "cpu",
|
||||
"columns": [
|
||||
"time",
|
||||
"mean",
|
||||
"path",
|
||||
"isActive"
|
||||
],
|
||||
"tags": {
|
||||
"datacenter": "America"
|
||||
},
|
||||
"values": [
|
||||
[
|
||||
111,
|
||||
222,
|
||||
null,
|
||||
null
|
||||
],
|
||||
[
|
||||
111,
|
||||
222,
|
||||
"/usr/path",
|
||||
false
|
||||
],
|
||||
[
|
||||
111,
|
||||
null,
|
||||
"/usr/path",
|
||||
true
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"series":[{"name":"cpu","columns":["time","mean","path","isActive"],"tags":{"datacenter":"America"},"values":[[111,222,null,null],[111,222,"/usr/path",false],[111,null,"/usr/path",true]]}]}]}
|
||||
|
@ -1,26 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"series": [
|
||||
{
|
||||
"name": "cpu.upc",
|
||||
"columns": [
|
||||
"time",
|
||||
"mean",
|
||||
"sum"
|
||||
],
|
||||
"tags": {
|
||||
"@cluster@name@": "Cluster@"
|
||||
},
|
||||
"values": [
|
||||
[
|
||||
111,
|
||||
222,
|
||||
333
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"series":[{"name":"cpu.upc","columns":["time","mean","sum"],"tags":{"@cluster@name@":"Cluster@"},"values":[[111,222,333]]}]}]}
|
||||
|
@ -1,55 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"statement_id": 0,
|
||||
"series": [
|
||||
{
|
||||
"columns": [
|
||||
"name",
|
||||
"duration",
|
||||
"shardGroupDuration",
|
||||
"replicaN",
|
||||
"default"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
"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
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"statement_id":0,"series":[{"columns":["name","duration","shardGroupDuration","replicaN","default"],"values":[["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]]}]}]}
|
||||
|
1
pkg/tsdb/influxdb/influxql/testdata/show_diagnostics.json
vendored
Normal file
1
pkg/tsdb/influxdb/influxql/testdata/show_diagnostics.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"results":[{"statement_id":0,"series":[{"name":"build","columns":["Branch","Build Time","Commit","Version"],"values":[["1.8","","688e697c51fd","1.8.10"]]},{"name":"config","columns":["bind-address","reporting-disabled"],"values":[["127.0.0.1:8088",false]]},{"name":"config-coordinator","columns":["log-queries-after","max-concurrent-queries","max-select-buckets","max-select-point","max-select-series","query-timeout","write-timeout"],"values":[["0s",0,0,0,0,"0s","10s"]]},{"name":"config-cqs","columns":["enabled","query-stats-enabled","run-interval"],"values":[[true,false,"1s"]]},{"name":"config-data","columns":["cache-max-memory-size","cache-snapshot-memory-size","cache-snapshot-write-cold-duration","compact-full-write-cold-duration","dir","max-concurrent-compactions","max-index-log-file-size","max-series-per-database","max-values-per-tag","series-file-max-concurrent-compactions","series-id-set-cache-size","strict-error-handling","wal-dir","wal-fsync-delay"],"values":[[1073741824,26214400,"10m0s","4h0m0s","/var/lib/influxdb/data",0,1048576,1000000,100000,0,100,false,"/var/lib/influxdb/wal","0s"]]},{"name":"config-httpd","columns":["access-log-path","bind-address","enabled","https-enabled","max-connection-limit","max-row-limit"],"values":[["",":8086",true,false,0,10000]]},{"name":"config-meta","columns":["dir"],"values":[["/var/lib/influxdb/meta"]]},{"name":"config-monitor","columns":["store-database","store-enabled","store-interval"],"values":[["_internal",true,"10s"]]},{"name":"config-precreator","columns":["advance-period","check-interval","enabled"],"values":[["30m0s","10m0s",true]]},{"name":"config-retention","columns":["check-interval","enabled"],"values":[["30m0s",true]]},{"name":"config-subscriber","columns":["enabled","http-timeout","write-buffer-size","write-concurrency"],"values":[[true,"30s",1000,40]]},{"name":"network","columns":["hostname"],"values":[["635ab5063baa"]]},{"name":"runtime","columns":["GOARCH","GOMAXPROCS","GOOS","version"],"values":[["arm64",10,"linux","go1.13.8"]]},{"name":"system","columns":["PID","currentTime","started","uptime"],"values":[[1,"2024-02-02T11:33:46.519061719Z","2024-01-29T11:11:07.051577923Z","96h22m39.467483796s"]]}]}]}
|
512
pkg/tsdb/influxdb/influxql/testdata/show_diagnostics.time_series.golden.jsonc
vendored
Normal file
512
pkg/tsdb/influxdb/influxql/testdata/show_diagnostics.time_series.golden.jsonc
vendored
Normal file
@ -0,0 +1,512 @@
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
//
|
||||
// Frame[0] {
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "preferredVisualisationType": "graph",
|
||||
// "executedQueryString": "Test raw query"
|
||||
// }
|
||||
// Name: build
|
||||
// Dimensions: 1 Fields by 1 Rows
|
||||
// +-----------------+
|
||||
// | Name: Value |
|
||||
// | Labels: |
|
||||
// | Type: []*string |
|
||||
// +-----------------+
|
||||
// | 1.8 |
|
||||
// +-----------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
// Frame[1]
|
||||
// Name: config
|
||||
// Dimensions: 1 Fields by 1 Rows
|
||||
// +-----------------+
|
||||
// | Name: Value |
|
||||
// | Labels: |
|
||||
// | Type: []*string |
|
||||
// +-----------------+
|
||||
// | 127.0.0.1:8088 |
|
||||
// +-----------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
// Frame[2]
|
||||
// Name: config-coordinator
|
||||
// Dimensions: 1 Fields by 1 Rows
|
||||
// +-----------------+
|
||||
// | Name: Value |
|
||||
// | Labels: |
|
||||
// | Type: []*string |
|
||||
// +-----------------+
|
||||
// | 0s |
|
||||
// +-----------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
// Frame[3]
|
||||
// Name: config-cqs
|
||||
// Dimensions: 1 Fields by 1 Rows
|
||||
// +-----------------+
|
||||
// | Name: Value |
|
||||
// | Labels: |
|
||||
// | Type: []*string |
|
||||
// +-----------------+
|
||||
// | true |
|
||||
// +-----------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
// Frame[4]
|
||||
// Name: config-data
|
||||
// Dimensions: 1 Fields by 1 Rows
|
||||
// +-----------------+
|
||||
// | Name: Value |
|
||||
// | Labels: |
|
||||
// | Type: []*string |
|
||||
// +-----------------+
|
||||
// | 1073741824 |
|
||||
// +-----------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
// Frame[5]
|
||||
// Name: config-httpd
|
||||
// Dimensions: 1 Fields by 1 Rows
|
||||
// +-----------------+
|
||||
// | Name: Value |
|
||||
// | Labels: |
|
||||
// | Type: []*string |
|
||||
// +-----------------+
|
||||
// | |
|
||||
// +-----------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
// Frame[6]
|
||||
// Name: config-meta
|
||||
// Dimensions: 1 Fields by 1 Rows
|
||||
// +------------------------+
|
||||
// | Name: Value |
|
||||
// | Labels: |
|
||||
// | Type: []*string |
|
||||
// +------------------------+
|
||||
// | /var/lib/influxdb/meta |
|
||||
// +------------------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
// Frame[7]
|
||||
// Name: config-monitor
|
||||
// Dimensions: 1 Fields by 1 Rows
|
||||
// +-----------------+
|
||||
// | Name: Value |
|
||||
// | Labels: |
|
||||
// | Type: []*string |
|
||||
// +-----------------+
|
||||
// | _internal |
|
||||
// +-----------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
// Frame[8]
|
||||
// Name: config-precreator
|
||||
// Dimensions: 1 Fields by 1 Rows
|
||||
// +-----------------+
|
||||
// | Name: Value |
|
||||
// | Labels: |
|
||||
// | Type: []*string |
|
||||
// +-----------------+
|
||||
// | 30m0s |
|
||||
// +-----------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
// Frame[9]
|
||||
// Name: config-retention
|
||||
// Dimensions: 1 Fields by 1 Rows
|
||||
// +-----------------+
|
||||
// | Name: Value |
|
||||
// | Labels: |
|
||||
// | Type: []*string |
|
||||
// +-----------------+
|
||||
// | 30m0s |
|
||||
// +-----------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
// Frame[10]
|
||||
// Name: config-subscriber
|
||||
// Dimensions: 1 Fields by 1 Rows
|
||||
// +-----------------+
|
||||
// | Name: Value |
|
||||
// | Labels: |
|
||||
// | Type: []*string |
|
||||
// +-----------------+
|
||||
// | true |
|
||||
// +-----------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
// Frame[11]
|
||||
// Name: network
|
||||
// Dimensions: 1 Fields by 1 Rows
|
||||
// +-----------------+
|
||||
// | Name: Value |
|
||||
// | Labels: |
|
||||
// | Type: []*string |
|
||||
// +-----------------+
|
||||
// | 635ab5063baa |
|
||||
// +-----------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
// Frame[12]
|
||||
// Name: runtime
|
||||
// Dimensions: 1 Fields by 1 Rows
|
||||
// +-----------------+
|
||||
// | Name: Value |
|
||||
// | Labels: |
|
||||
// | Type: []*string |
|
||||
// +-----------------+
|
||||
// | arm64 |
|
||||
// +-----------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
// Frame[13]
|
||||
// Name: system
|
||||
// Dimensions: 1 Fields by 1 Rows
|
||||
// +-----------------+
|
||||
// | Name: Value |
|
||||
// | Labels: |
|
||||
// | Type: []*string |
|
||||
// +-----------------+
|
||||
// | 1 |
|
||||
// +-----------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
{
|
||||
"status": 200,
|
||||
"frames": [
|
||||
{
|
||||
"schema": {
|
||||
"name": "build",
|
||||
"meta": {
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"preferredVisualisationType": "graph",
|
||||
"executedQueryString": "Test raw query"
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "string",
|
||||
"typeInfo": {
|
||||
"frame": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
"1.8"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"schema": {
|
||||
"name": "config",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "string",
|
||||
"typeInfo": {
|
||||
"frame": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
"127.0.0.1:8088"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"schema": {
|
||||
"name": "config-coordinator",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "string",
|
||||
"typeInfo": {
|
||||
"frame": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
"0s"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"schema": {
|
||||
"name": "config-cqs",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "string",
|
||||
"typeInfo": {
|
||||
"frame": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
"true"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"schema": {
|
||||
"name": "config-data",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "string",
|
||||
"typeInfo": {
|
||||
"frame": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
"1073741824"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"schema": {
|
||||
"name": "config-httpd",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "string",
|
||||
"typeInfo": {
|
||||
"frame": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
""
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"schema": {
|
||||
"name": "config-meta",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "string",
|
||||
"typeInfo": {
|
||||
"frame": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
"/var/lib/influxdb/meta"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"schema": {
|
||||
"name": "config-monitor",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "string",
|
||||
"typeInfo": {
|
||||
"frame": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
"_internal"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"schema": {
|
||||
"name": "config-precreator",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "string",
|
||||
"typeInfo": {
|
||||
"frame": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
"30m0s"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"schema": {
|
||||
"name": "config-retention",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "string",
|
||||
"typeInfo": {
|
||||
"frame": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
"30m0s"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"schema": {
|
||||
"name": "config-subscriber",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "string",
|
||||
"typeInfo": {
|
||||
"frame": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
"true"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"schema": {
|
||||
"name": "network",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "string",
|
||||
"typeInfo": {
|
||||
"frame": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
"635ab5063baa"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"schema": {
|
||||
"name": "runtime",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "string",
|
||||
"typeInfo": {
|
||||
"frame": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
"arm64"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"schema": {
|
||||
"name": "system",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Value",
|
||||
"type": "string",
|
||||
"typeInfo": {
|
||||
"frame": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"values": [
|
||||
[
|
||||
"1"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -1,62 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"statement_id": 0,
|
||||
"series": [
|
||||
{
|
||||
"name": "cpu",
|
||||
"columns": [
|
||||
"key",
|
||||
"value"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
"cpu",
|
||||
"cpu-total"
|
||||
],
|
||||
[
|
||||
"cpu",
|
||||
"cpu0"
|
||||
],
|
||||
[
|
||||
"cpu",
|
||||
"cpu1"
|
||||
],
|
||||
[
|
||||
"cpu",
|
||||
"cpu2"
|
||||
],
|
||||
[
|
||||
"cpu",
|
||||
"cpu3"
|
||||
],
|
||||
[
|
||||
"cpu",
|
||||
"cpu4"
|
||||
],
|
||||
[
|
||||
"cpu",
|
||||
"cpu5"
|
||||
],
|
||||
[
|
||||
"cpu",
|
||||
"cpu6"
|
||||
],
|
||||
[
|
||||
"cpu",
|
||||
"cpu7"
|
||||
],
|
||||
[
|
||||
"cpu",
|
||||
"cpu8"
|
||||
],
|
||||
[
|
||||
"cpu",
|
||||
"cpu9"
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"statement_id":0,"series":[{"name":"cpu","columns":["key","value"],"values":[["cpu","cpu-total"],["cpu","cpu0"],["cpu","cpu1"],["cpu","cpu2"],["cpu","cpu3"],["cpu","cpu4"],["cpu","cpu5"],["cpu","cpu6"],["cpu","cpu7"],["cpu","cpu8"],["cpu","cpu9"]]}]}]}
|
||||
|
@ -1,44 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"statement_id": 0,
|
||||
"series": [
|
||||
{
|
||||
"name": "cpu",
|
||||
"columns": [
|
||||
"time",
|
||||
"usage_idle",
|
||||
"usage_iowait"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1700090120000,
|
||||
99.0255173802101,
|
||||
0.020092425155804713
|
||||
],
|
||||
[
|
||||
1700090120000,
|
||||
99.29718875523953,
|
||||
0
|
||||
],
|
||||
[
|
||||
1700090120000,
|
||||
99.09456740445926,
|
||||
0
|
||||
],
|
||||
[
|
||||
1700090120000,
|
||||
99.39455095864957,
|
||||
0
|
||||
],
|
||||
[
|
||||
1700090120000,
|
||||
99.09729187566201,
|
||||
0
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"statement_id":0,"series":[{"name":"cpu","columns":["time","usage_idle","usage_iowait"],"values":[[1700090120000,99.0255173802101,0.020092425155804713],[1700090120000,99.29718875523953,0],[1700090120000,99.09456740445926,0],[1700090120000,99.39455095864957,0],[1700090120000,99.09729187566201,0]]}]}]}
|
||||
|
@ -1,35 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"statement_id": 0,
|
||||
"series": [
|
||||
{
|
||||
"name": "Annotation",
|
||||
"columns": [
|
||||
"time",
|
||||
"domain",
|
||||
"type",
|
||||
"ASD",
|
||||
"details"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1697789142916,
|
||||
"AASD157",
|
||||
"fghg",
|
||||
null,
|
||||
"Something happened AtTime=2023-10-20T08:05:42.902036"
|
||||
],
|
||||
[
|
||||
1697789142918,
|
||||
"HUY23",
|
||||
"val23",
|
||||
null,
|
||||
"Something else happened AtTime=2023-10-20T08:05:42.902036"
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"statement_id":0,"series":[{"name":"Annotation","columns":["time","domain","type","ASD","details"],"values":[[1697789142916,"AASD157","fghg",null,"Something happened AtTime=2023-10-20T08:05:42.902036"],[1697789142918,"HUY23","val23",null,"Something else happened AtTime=2023-10-20T08:05:42.902036"]]}]}]}
|
||||
|
@ -1,29 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"series": [
|
||||
{
|
||||
"name": "cpu",
|
||||
"columns": [
|
||||
"time",
|
||||
"mean"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
100,
|
||||
null
|
||||
],
|
||||
[
|
||||
101,
|
||||
null
|
||||
],
|
||||
[
|
||||
102,
|
||||
52
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"series":[{"name":"cpu","columns":["time","mean"],"values":[[100,null],[101,null],[102,52]]}]}]}
|
||||
|
@ -1,51 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"statement_id": 0,
|
||||
"series": [
|
||||
{
|
||||
"name": "series_name",
|
||||
"tags": {},
|
||||
"columns": [
|
||||
"time",
|
||||
"col_1_name"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1678723623474,
|
||||
"589051IR"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "series_name",
|
||||
"tags": {},
|
||||
"columns": [
|
||||
"time",
|
||||
"col_1_name"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1678723623474,
|
||||
null
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "series_name",
|
||||
"tags": {},
|
||||
"columns": [
|
||||
"time",
|
||||
"col_1_name"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1678723623474,
|
||||
null
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"statement_id":0,"series":[{"name":"series_name","tags":{},"columns":["time","col_1_name"],"values":[[1678723623474,"589051IR"]]},{"name":"series_name","tags":{},"columns":["time","col_1_name"],"values":[[1678723623474,null]]},{"name":"series_name","tags":{},"columns":["time","col_1_name"],"values":[[1678723623474,null]]}]}]}
|
||||
|
@ -1,51 +1 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"statement_id": 0,
|
||||
"series": [
|
||||
{
|
||||
"name": "series_name",
|
||||
"tags": {},
|
||||
"columns": [
|
||||
"time",
|
||||
"col_1_name"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1678723623474,
|
||||
null
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "series_name",
|
||||
"tags": {},
|
||||
"columns": [
|
||||
"time",
|
||||
"col_1_name"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1678723623474,
|
||||
"someval"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "series_name",
|
||||
"tags": {},
|
||||
"columns": [
|
||||
"time",
|
||||
"col_1_name"
|
||||
],
|
||||
"values": [
|
||||
[
|
||||
1678723623474,
|
||||
"anotherval"
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
{"results":[{"statement_id":0,"series":[{"name":"series_name","tags":{},"columns":["time","col_1_name"],"values":[[1678723623474,null]]},{"name":"series_name","tags":{},"columns":["time","col_1_name"],"values":[[1678723623474,"someval"]]},{"name":"series_name","tags":{},"columns":["time","col_1_name"],"values":[[1678723623474,"anotherval"]]}]}]}
|
||||
|
Loading…
Reference in New Issue
Block a user