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:
Kyle Brandt
2023-02-21 09:06:15 -05:00
committed by GitHub
parent e2af8aa53b
commit 52ed297ed5
71 changed files with 739 additions and 53 deletions
@@ -1,6 +1,10 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "exemplar"
// },
@@ -34,6 +38,10 @@
"schema": {
"name": "exemplar",
"meta": {
"typeVersion": [
0,
0
],
"custom": {
"resultType": "exemplar"
},
@@ -1,6 +1,10 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "exemplar"
// },
@@ -34,6 +38,10 @@
"schema": {
"name": "exemplar",
"meta": {
"typeVersion": [
0,
0
],
"custom": {
"resultType": "exemplar"
},
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// },
@@ -36,6 +40,10 @@
"name": "histogram_quantile(0.95, sum(rate(tns_request_duration_seconds_bucket[1m0s])) by (le))",
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
},
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "timeseries-wide",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// },
@@ -35,6 +39,10 @@
"schema": {
"meta": {
"type": "timeseries-wide",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
},
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// },
@@ -29,6 +33,10 @@
"name": "1 / 0",
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
},
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "timeseries-wide",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// },
@@ -28,6 +32,10 @@
"schema": {
"meta": {
"type": "timeseries-wide",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
},
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// },
@@ -29,6 +33,10 @@
"name": "go_goroutines{job=\"prometheus\"}",
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
},
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "timeseries-wide",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// },
@@ -28,6 +32,10 @@
"schema": {
"meta": {
"type": "timeseries-wide",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
},
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// },
@@ -29,6 +33,10 @@
"name": "{handler=\"/api/v1/query_range\", job=\"prometheus\"}",
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
},
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "timeseries-wide",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// },
@@ -28,6 +32,10 @@
"schema": {
"meta": {
"type": "timeseries-wide",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
},
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// },
@@ -23,6 +27,10 @@
//
// Frame[1] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// },
@@ -49,6 +57,10 @@
"name": "prometheus_http_requests_total{code=\"200\", handler=\"/api/v1/query_range\", job=\"prometheus\"}",
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
},
@@ -103,6 +115,10 @@
"name": "prometheus_http_requests_total{code=\"400\", handler=\"/api/v1/query_range\", job=\"prometheus\"}",
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
},
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "timeseries-wide",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// },
@@ -29,6 +33,10 @@
"schema": {
"meta": {
"type": "timeseries-wide",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
},