Backend: Use latest plugin-sdk-go v0.149.1 (#63498)
Use latest github.com/grafana/grafana-plugin-sdk-go which includes changes to the TypeVersion property (always present in JSON). Also included is squtil changes: SQL util - allow using the database scan type for converters
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
//
|
||||
// Frame[0] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
// }
|
||||
// Name: {}
|
||||
@@ -29,6 +33,10 @@
|
||||
"name": "{}",
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
},
|
||||
"fields": [
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
//
|
||||
// Frame[0] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
// }
|
||||
// Name: {level="info", location="moon", protocol="http"}
|
||||
@@ -31,6 +35,10 @@
|
||||
"name": "{level=\"info\", location=\"moon\", protocol=\"http\"}",
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
},
|
||||
"fields": [
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
//
|
||||
// Frame[0] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
// }
|
||||
// Name: {__name__="moon", level="error"}
|
||||
@@ -24,6 +28,10 @@
|
||||
"name": "{__name__=\"moon\", level=\"error\"}",
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
},
|
||||
"fields": [
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
//
|
||||
// Frame[0] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
// }
|
||||
// Name: {}
|
||||
@@ -26,6 +30,10 @@
|
||||
"name": "{}",
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
},
|
||||
"fields": [
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
//
|
||||
// Frame[0] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
// }
|
||||
// Name: {level="error", location="moon"}
|
||||
@@ -21,6 +25,10 @@
|
||||
//
|
||||
// Frame[1] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
// }
|
||||
// Name: {level="info", location="mars"}
|
||||
@@ -47,6 +55,10 @@
|
||||
"name": "{level=\"error\", location=\"moon\"}",
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
},
|
||||
"fields": [
|
||||
@@ -98,6 +110,10 @@
|
||||
"name": "{level=\"info\", location=\"mars\"}",
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
},
|
||||
"fields": [
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
//
|
||||
// Frame[0] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
// }
|
||||
// Name: {level="error"}
|
||||
@@ -27,6 +31,10 @@
|
||||
"name": "{level=\"error\"}",
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
},
|
||||
"fields": [
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
//
|
||||
// Frame[0] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "stats": [
|
||||
// {
|
||||
// "displayName": "Summary: bytes processed per second",
|
||||
@@ -127,6 +131,10 @@
|
||||
//
|
||||
// Frame[1] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
// }
|
||||
// Name: {level="info", location="mars"}
|
||||
@@ -150,6 +158,10 @@
|
||||
"name": "{level=\"error\", location=\"moon\"}",
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"stats": [
|
||||
{
|
||||
"displayName": "Summary: bytes processed per second",
|
||||
@@ -305,6 +317,10 @@
|
||||
"name": "{level=\"info\", location=\"mars\"}",
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
|
||||
},
|
||||
"fields": [
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
//
|
||||
// Frame[0] {
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "custom": {
|
||||
// "frameType": "LabeledTimeValues"
|
||||
// },
|
||||
@@ -27,6 +31,10 @@
|
||||
{
|
||||
"schema": {
|
||||
"meta": {
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"custom": {
|
||||
"frameType": "LabeledTimeValues"
|
||||
},
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
//
|
||||
// Frame[0] {
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "custom": {
|
||||
// "frameType": "LabeledTimeValues"
|
||||
// },
|
||||
@@ -137,6 +141,10 @@
|
||||
{
|
||||
"schema": {
|
||||
"meta": {
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"custom": {
|
||||
"frameType": "LabeledTimeValues"
|
||||
},
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
//
|
||||
// Frame[0] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "executedQueryString": "Expr: query1"
|
||||
// }
|
||||
// Name: {level="error", location="moon"}
|
||||
@@ -18,6 +22,10 @@
|
||||
//
|
||||
// Frame[1] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "executedQueryString": "Expr: query1"
|
||||
// }
|
||||
// Name: {level="info", location="moon"}
|
||||
@@ -40,6 +48,10 @@
|
||||
"name": "{level=\"error\", location=\"moon\"}",
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"executedQueryString": "Expr: query1"
|
||||
},
|
||||
"fields": [
|
||||
@@ -82,6 +94,10 @@
|
||||
"name": "{level=\"info\", location=\"moon\"}",
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"executedQueryString": "Expr: query1"
|
||||
},
|
||||
"fields": [
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
//
|
||||
// Frame[0] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "executedQueryString": "Expr: query1"
|
||||
// }
|
||||
// Name: {level="error", location="moon"}
|
||||
@@ -18,6 +22,10 @@
|
||||
//
|
||||
// Frame[1] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "executedQueryString": "Expr: query1"
|
||||
// }
|
||||
// Name: {level="info", location="moon"}
|
||||
@@ -34,6 +42,10 @@
|
||||
//
|
||||
// Frame[2] {
|
||||
// "type": "timeseries-multi",
|
||||
// "typeVersion": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "executedQueryString": "Expr: query1"
|
||||
// }
|
||||
// Name: {level="debug", location="moon"}
|
||||
@@ -56,6 +68,10 @@
|
||||
"name": "{level=\"error\", location=\"moon\"}",
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"executedQueryString": "Expr: query1"
|
||||
},
|
||||
"fields": [
|
||||
@@ -106,6 +122,10 @@
|
||||
"name": "{level=\"info\", location=\"moon\"}",
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"executedQueryString": "Expr: query1"
|
||||
},
|
||||
"fields": [
|
||||
@@ -156,6 +176,10 @@
|
||||
"name": "{level=\"debug\", location=\"moon\"}",
|
||||
"meta": {
|
||||
"type": "timeseries-multi",
|
||||
"typeVersion": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"executedQueryString": "Expr: query1"
|
||||
},
|
||||
"fields": [
|
||||
|
||||
Reference in New Issue
Block a user