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 -1
View File
@@ -69,7 +69,7 @@ require (
github.com/grafana/cuetsy v0.1.5
github.com/grafana/grafana-aws-sdk v0.12.0
github.com/grafana/grafana-azure-sdk-go v1.6.0
github.com/grafana/grafana-plugin-sdk-go v0.148.0
github.com/grafana/grafana-plugin-sdk-go v0.149.1
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
github.com/hashicorp/go-hclog v1.2.0
github.com/hashicorp/go-plugin v1.4.3
+2
View File
@@ -1264,6 +1264,8 @@ github.com/grafana/grafana-plugin-sdk-go v0.94.0/go.mod h1:3VXz4nCv6wH5SfgB3mlW3
github.com/grafana/grafana-plugin-sdk-go v0.114.0/go.mod h1:D7x3ah+1d4phNXpbnOaxa/osSaZlwh9/ZUnGGzegRbk=
github.com/grafana/grafana-plugin-sdk-go v0.148.0 h1:M8v6L9agAFMlZMnak1yInII+aVF5FjZ1Qv4Q+GANyk4=
github.com/grafana/grafana-plugin-sdk-go v0.148.0/go.mod h1:NMgO3t2gR5wyLx8bWZ9CTmpDk5Txp4wYFccFLHdYn3Q=
github.com/grafana/grafana-plugin-sdk-go v0.149.1 h1:n4Mx8oUE+exa1DGdWSUmp2DuZUDhURQEzPG05HUGfnc=
github.com/grafana/grafana-plugin-sdk-go v0.149.1/go.mod h1:NMgO3t2gR5wyLx8bWZ9CTmpDk5Txp4wYFccFLHdYn3Q=
github.com/grafana/phlare/api v0.1.2 h1:1jrwd3KnsXMzj/tJih9likx5EvbY3pbvLbDqAAYem30=
github.com/grafana/phlare/api v0.1.2/go.mod h1:29vcLwFDmZBDce2jwFIMtzvof7fzPadT8VMKw9ks7FU=
github.com/grafana/prometheus-alertmanager v0.25.1-0.20230119183635-ec19b0a443b7 h1:ma1CfisUaAXQzL24tCao9yMleZYsFJ853m2l0rgahyE=
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 106,
// "locationInfo": {
@@ -48,6 +52,10 @@
"refId": "Search",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 106,
"locationInfo": {
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 106,
// "locationInfo": {
@@ -48,6 +52,10 @@
"refId": "Search",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 106,
"locationInfo": {
+8
View File
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 0
// }
@@ -25,6 +29,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 0
}
+8
View File
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
+8
View File
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
+8
View File
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 0
// }
@@ -25,6 +29,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 0
}
+8
View File
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
+8
View File
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
+8
View File
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 2
// }
@@ -27,6 +31,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 2
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 0
// }
@@ -25,6 +29,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 0
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 0
// }
@@ -25,6 +29,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 0
}
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 1
// }
@@ -26,6 +30,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 1
}
+8
View File
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 2,
// "sortBy": "test"
@@ -28,6 +32,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 2,
"sortBy": "test"
+8
View File
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "search-results",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "count": 2,
// "sortBy": "test"
@@ -28,6 +32,10 @@
"name": "Query results",
"meta": {
"type": "search-results",
"typeVersion": [
0,
0
],
"custom": {
"count": 2,
"sortBy": "test"
@@ -2,6 +2,10 @@
//
// Frame[0] {
// "type": "directory-listing",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "HasMore": false
// }
@@ -31,6 +35,10 @@
"schema": {
"meta": {
"type": "directory-listing",
"typeVersion": [
0,
0
],
"custom": {
"HasMore": false
}
@@ -1,7 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-multi"
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 3 Rows
@@ -23,7 +27,11 @@
{
"schema": {
"meta": {
"type": "timeseries-multi"
"type": "timeseries-multi",
"typeVersion": [
0,
0
]
},
"fields": [
{
@@ -1,7 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-multi"
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 3 Rows
@@ -18,7 +22,11 @@
//
//
// Frame[1] {
// "type": "timeseries-multi"
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 3 Rows
@@ -35,7 +43,11 @@
//
//
// Frame[2] {
// "type": "timeseries-multi"
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 3 Rows
@@ -52,7 +64,11 @@
//
//
// Frame[3] {
// "type": "timeseries-multi"
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 3 Rows
@@ -69,7 +85,11 @@
//
//
// Frame[4] {
// "type": "timeseries-multi"
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 3 Rows
@@ -86,7 +106,11 @@
//
//
// Frame[5] {
// "type": "timeseries-multi"
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 3 Rows
@@ -108,7 +132,11 @@
{
"schema": {
"meta": {
"type": "timeseries-multi"
"type": "timeseries-multi",
"typeVersion": [
0,
0
]
},
"fields": [
{
@@ -152,7 +180,11 @@
{
"schema": {
"meta": {
"type": "timeseries-multi"
"type": "timeseries-multi",
"typeVersion": [
0,
0
]
},
"fields": [
{
@@ -196,7 +228,11 @@
{
"schema": {
"meta": {
"type": "timeseries-multi"
"type": "timeseries-multi",
"typeVersion": [
0,
0
]
},
"fields": [
{
@@ -240,7 +276,11 @@
{
"schema": {
"meta": {
"type": "timeseries-multi"
"type": "timeseries-multi",
"typeVersion": [
0,
0
]
},
"fields": [
{
@@ -284,7 +324,11 @@
{
"schema": {
"meta": {
"type": "timeseries-multi"
"type": "timeseries-multi",
"typeVersion": [
0,
0
]
},
"fields": [
{
@@ -328,7 +372,11 @@
{
"schema": {
"meta": {
"type": "timeseries-multi"
"type": "timeseries-multi",
"typeVersion": [
0,
0
]
},
"fields": [
{
@@ -1,7 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-multi"
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 3 Rows
@@ -23,7 +27,11 @@
{
"schema": {
"meta": {
"type": "timeseries-multi"
"type": "timeseries-multi",
"typeVersion": [
0,
0
]
},
"fields": [
{
@@ -1,7 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-multi"
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 3 Rows
@@ -23,7 +27,11 @@
{
"schema": {
"meta": {
"type": "timeseries-multi"
"type": "timeseries-multi",
"typeVersion": [
0,
0
]
},
"fields": [
{
@@ -1,7 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-multi"
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 4 Rows
@@ -19,7 +23,11 @@
//
//
// Frame[1] {
// "type": "timeseries-multi"
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 4 Rows
@@ -37,7 +45,11 @@
//
//
// Frame[2] {
// "type": "timeseries-multi"
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 4 Rows
@@ -60,7 +72,11 @@
{
"schema": {
"meta": {
"type": "timeseries-multi"
"type": "timeseries-multi",
"typeVersion": [
0,
0
]
},
"fields": [
{
@@ -106,7 +122,11 @@
{
"schema": {
"meta": {
"type": "timeseries-multi"
"type": "timeseries-multi",
"typeVersion": [
0,
0
]
},
"fields": [
{
@@ -152,7 +172,11 @@
{
"schema": {
"meta": {
"type": "timeseries-multi"
"type": "timeseries-multi",
"typeVersion": [
0,
0
]
},
"fields": [
{
+12 -2
View File
@@ -1,6 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {}
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 3 Rows
// +-------------------------------+--------------------------+
@@ -20,7 +25,12 @@
"frames": [
{
"schema": {
"meta": {},
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "Time",
+12 -2
View File
@@ -1,6 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {}
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name: x
// Dimensions: 2 Fields by 2 Rows
// +---------------------------------+------------------------+
@@ -34,7 +39,12 @@
{
"schema": {
"name": "x",
"meta": {},
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "Time",
+12 -2
View File
@@ -1,6 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {}
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name: ingress
// Dimensions: 2 Fields by 1 Rows
// +-------------------------------+---------------------------------+
@@ -58,7 +63,12 @@
{
"schema": {
"name": "ingress",
"meta": {},
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "Time",
+12 -2
View File
@@ -1,6 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {}
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 4 Fields by 3 Rows
// +-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+
@@ -20,7 +25,12 @@
"frames": [
{
"schema": {
"meta": {},
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "name",
+12 -2
View File
@@ -1,6 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {}
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name: system
// Dimensions: 2 Fields by 3 Rows
// +-----------------------------------------+-----------------------+
@@ -59,7 +64,12 @@
{
"schema": {
"name": "system",
"meta": {},
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "Time",
+12 -2
View File
@@ -1,6 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {}
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name: test
// Dimensions: 2 Fields by 2 Rows
// +-----------------------------------------+-------------------------+
@@ -48,7 +53,12 @@
{
"schema": {
"name": "test",
"meta": {},
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "Time",
+12 -2
View File
@@ -1,6 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {}
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name: cpu
// Dimensions: 3 Fields by 1 Rows
// +---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
@@ -58,7 +63,12 @@
{
"schema": {
"name": "cpu",
"meta": {},
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "_time",
+12 -2
View File
@@ -1,6 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {}
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name: cpu
// Dimensions: 3 Fields by 2 Rows
// +-------------------------------+---------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
@@ -62,7 +67,12 @@
{
"schema": {
"name": "cpu",
"meta": {},
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "_time",
@@ -1,6 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {}
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 3 Fields by 1 Rows
// +-----------------------------------------+-----------------------------------------+------------------+
@@ -18,7 +23,12 @@
"frames": [
{
"schema": {
"meta": {},
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "_start_water",
+12 -2
View File
@@ -1,6 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {}
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 20 Rows
// +-------------------------------+---------------------+
@@ -27,7 +32,12 @@
"frames": [
{
"schema": {
"meta": {},
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "time",
+12 -2
View File
@@ -1,6 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {}
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name: test
// Dimensions: 2 Fields by 2 Rows
// +-----------------------------------------+-------------------------+
@@ -20,7 +25,12 @@
{
"schema": {
"name": "test",
"meta": {},
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "Time",
+12 -2
View File
@@ -1,6 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {}
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 1 Fields by 1 Rows
// +--------------------------------------+
@@ -18,7 +23,12 @@
"frames": [
{
"schema": {
"meta": {},
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "_value",
+12 -2
View File
@@ -1,6 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {}
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 1 Rows
// +---------------------------------------+-------------------------+
@@ -18,7 +23,12 @@
"frames": [
{
"schema": {
"meta": {},
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "Time",
+12 -2
View File
@@ -1,6 +1,11 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {}
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 2 Fields by 4 Rows
// +-------------------------------+------------------+
@@ -21,7 +26,12 @@
"frames": [
{
"schema": {
"meta": {},
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "Time",
+8
View File
@@ -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": [
+8
View File
@@ -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": [
+8
View File
@@ -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": [
+8
View File
@@ -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": [
+16
View File
@@ -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": [
+8
View File
@@ -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": [
+16
View File
@@ -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"
},
+8
View File
@@ -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"
},
+16
View File
@@ -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": [
@@ -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"
},