azuremonitor: add labels for single resource query (#90832)
* azuremonitor: add labels for single resource query * fix tests
This commit is contained in:
@@ -424,10 +424,9 @@ func (e *AzureMonitorDatasource) parseResponse(amr types.AzureMonitorResponse, q
|
||||
resourceName = extractResourceNameFromMetricsURL(query.URL)
|
||||
resourceID = extractResourceIDFromMetricsURL(query.URL)
|
||||
}
|
||||
if _, ok := labels[resourceIdLabel]; ok {
|
||||
delete(labels, resourceIdLabel)
|
||||
labels["resourceName"] = resourceName
|
||||
}
|
||||
|
||||
delete(labels, resourceIdLabel)
|
||||
labels["resourceName"] = resourceName
|
||||
|
||||
if query.Alias != "" {
|
||||
displayName := formatAzureMonitorLegendKey(query, resourceID, &amr, labels, subscription)
|
||||
|
||||
+14
-12
@@ -9,17 +9,17 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 5 Rows
|
||||
// +-------------------------------+----------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+----------------------+
|
||||
// | 2019-02-08 10:13:00 +0000 UTC | 2.0875 |
|
||||
// | 2019-02-08 10:14:00 +0000 UTC | 2.1525 |
|
||||
// | 2019-02-08 10:15:00 +0000 UTC | 2.155 |
|
||||
// | 2019-02-08 10:16:00 +0000 UTC | 3.6925 |
|
||||
// | 2019-02-08 10:17:00 +0000 UTC | 2.44 |
|
||||
// +-------------------------------+----------------------+
|
||||
// +-------------------------------+------------------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+------------------------------+
|
||||
// | 2019-02-08 10:13:00 +0000 UTC | 2.0875 |
|
||||
// | 2019-02-08 10:14:00 +0000 UTC | 2.1525 |
|
||||
// | 2019-02-08 10:15:00 +0000 UTC | 2.155 |
|
||||
// | 2019-02-08 10:16:00 +0000 UTC | 3.6925 |
|
||||
// | 2019-02-08 10:17:00 +0000 UTC | 2.44 |
|
||||
// +-------------------------------+------------------------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
@@ -59,7 +59,9 @@
|
||||
"frame": "float64",
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {},
|
||||
"labels": {
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"unit": "percent",
|
||||
"links": [
|
||||
|
||||
+14
-12
@@ -9,17 +9,17 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 5 Rows
|
||||
// +-------------------------------+----------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+----------------------+
|
||||
// | 2019-02-09 13:29:00 +0000 UTC | 8.26 |
|
||||
// | 2019-02-09 13:30:00 +0000 UTC | 8.7 |
|
||||
// | 2019-02-09 13:31:00 +0000 UTC | 14.82 |
|
||||
// | 2019-02-09 13:32:00 +0000 UTC | 10.07 |
|
||||
// | 2019-02-09 13:33:00 +0000 UTC | 8.52 |
|
||||
// +-------------------------------+----------------------+
|
||||
// +-------------------------------+------------------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+------------------------------+
|
||||
// | 2019-02-09 13:29:00 +0000 UTC | 8.26 |
|
||||
// | 2019-02-09 13:30:00 +0000 UTC | 8.7 |
|
||||
// | 2019-02-09 13:31:00 +0000 UTC | 14.82 |
|
||||
// | 2019-02-09 13:32:00 +0000 UTC | 10.07 |
|
||||
// | 2019-02-09 13:33:00 +0000 UTC | 8.52 |
|
||||
// +-------------------------------+------------------------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
@@ -59,7 +59,9 @@
|
||||
"frame": "float64",
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {},
|
||||
"labels": {
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"unit": "percent",
|
||||
"links": [
|
||||
|
||||
+14
-12
@@ -9,17 +9,17 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 5 Rows
|
||||
// +-------------------------------+----------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+----------------------+
|
||||
// | 2019-02-09 13:29:00 +0000 UTC | 8.26 |
|
||||
// | 2019-02-09 13:30:00 +0000 UTC | 8.7 |
|
||||
// | 2019-02-09 13:31:00 +0000 UTC | 14.82 |
|
||||
// | 2019-02-09 13:32:00 +0000 UTC | 10.07 |
|
||||
// | 2019-02-09 13:33:00 +0000 UTC | 8.52 |
|
||||
// +-------------------------------+----------------------+
|
||||
// +-------------------------------+------------------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+------------------------------+
|
||||
// | 2019-02-09 13:29:00 +0000 UTC | 8.26 |
|
||||
// | 2019-02-09 13:30:00 +0000 UTC | 8.7 |
|
||||
// | 2019-02-09 13:31:00 +0000 UTC | 14.82 |
|
||||
// | 2019-02-09 13:32:00 +0000 UTC | 10.07 |
|
||||
// | 2019-02-09 13:33:00 +0000 UTC | 8.52 |
|
||||
// +-------------------------------+------------------------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
@@ -59,7 +59,9 @@
|
||||
"frame": "float64",
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {},
|
||||
"labels": {
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"displayName": "custom grafanastaging Microsoft.Compute/virtualMachines grafana Percentage CPU",
|
||||
"unit": "percent",
|
||||
|
||||
+14
-12
@@ -9,17 +9,17 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 5 Rows
|
||||
// +-------------------------------+----------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+----------------------+
|
||||
// | 2019-02-09 13:29:00 +0000 UTC | 8.26 |
|
||||
// | 2019-02-09 13:30:00 +0000 UTC | 8.7 |
|
||||
// | 2019-02-09 13:31:00 +0000 UTC | 14.82 |
|
||||
// | 2019-02-09 13:32:00 +0000 UTC | 10.07 |
|
||||
// | 2019-02-09 13:33:00 +0000 UTC | 8.52 |
|
||||
// +-------------------------------+----------------------+
|
||||
// +-------------------------------+------------------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+------------------------------+
|
||||
// | 2019-02-09 13:29:00 +0000 UTC | 8.26 |
|
||||
// | 2019-02-09 13:30:00 +0000 UTC | 8.7 |
|
||||
// | 2019-02-09 13:31:00 +0000 UTC | 14.82 |
|
||||
// | 2019-02-09 13:32:00 +0000 UTC | 10.07 |
|
||||
// | 2019-02-09 13:33:00 +0000 UTC | 8.52 |
|
||||
// +-------------------------------+------------------------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
@@ -59,7 +59,9 @@
|
||||
"frame": "float64",
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {},
|
||||
"labels": {
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"displayName": "custom grafanastaging Microsoft.Compute/virtualMachines grafana Percentage CPU",
|
||||
"unit": "percent",
|
||||
|
||||
+14
-12
@@ -9,17 +9,17 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 5 Rows
|
||||
// +-------------------------------+----------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+----------------------+
|
||||
// | 2019-02-09 13:29:00 +0000 UTC | 8.26 |
|
||||
// | 2019-02-09 13:30:00 +0000 UTC | 8.7 |
|
||||
// | 2019-02-09 13:31:00 +0000 UTC | 14.82 |
|
||||
// | 2019-02-09 13:32:00 +0000 UTC | 10.07 |
|
||||
// | 2019-02-09 13:33:00 +0000 UTC | 8.52 |
|
||||
// +-------------------------------+----------------------+
|
||||
// +-------------------------------+------------------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+------------------------------+
|
||||
// | 2019-02-09 13:29:00 +0000 UTC | 8.26 |
|
||||
// | 2019-02-09 13:30:00 +0000 UTC | 8.7 |
|
||||
// | 2019-02-09 13:31:00 +0000 UTC | 14.82 |
|
||||
// | 2019-02-09 13:32:00 +0000 UTC | 10.07 |
|
||||
// | 2019-02-09 13:33:00 +0000 UTC | 8.52 |
|
||||
// +-------------------------------+------------------------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
@@ -59,7 +59,9 @@
|
||||
"frame": "float64",
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {},
|
||||
"labels": {
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"displayName": "custom grafanastaging Microsoft.Compute/virtualMachines grafana Percentage CPU",
|
||||
"unit": "percent",
|
||||
|
||||
+14
-12
@@ -9,17 +9,17 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 5 Rows
|
||||
// +-------------------------------+----------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+----------------------+
|
||||
// | 2019-02-09 14:26:00 +0000 UTC | 3.07 |
|
||||
// | 2019-02-09 14:27:00 +0000 UTC | 2.92 |
|
||||
// | 2019-02-09 14:28:00 +0000 UTC | 2.87 |
|
||||
// | 2019-02-09 14:29:00 +0000 UTC | 2.27 |
|
||||
// | 2019-02-09 14:30:00 +0000 UTC | 2.52 |
|
||||
// +-------------------------------+----------------------+
|
||||
// +-------------------------------+------------------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+------------------------------+
|
||||
// | 2019-02-09 14:26:00 +0000 UTC | 3.07 |
|
||||
// | 2019-02-09 14:27:00 +0000 UTC | 2.92 |
|
||||
// | 2019-02-09 14:28:00 +0000 UTC | 2.87 |
|
||||
// | 2019-02-09 14:29:00 +0000 UTC | 2.27 |
|
||||
// | 2019-02-09 14:30:00 +0000 UTC | 2.52 |
|
||||
// +-------------------------------+------------------------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
@@ -59,7 +59,9 @@
|
||||
"frame": "float64",
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {},
|
||||
"labels": {
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"unit": "percent",
|
||||
"links": [
|
||||
|
||||
+14
-12
@@ -9,17 +9,17 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 5 Rows
|
||||
// +-------------------------------+----------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+----------------------+
|
||||
// | 2019-02-09 14:43:00 +0000 UTC | 1.51 |
|
||||
// | 2019-02-09 14:44:00 +0000 UTC | 2.38 |
|
||||
// | 2019-02-09 14:45:00 +0000 UTC | 1.69 |
|
||||
// | 2019-02-09 14:46:00 +0000 UTC | 2.27 |
|
||||
// | 2019-02-09 14:47:00 +0000 UTC | 1.96 |
|
||||
// +-------------------------------+----------------------+
|
||||
// +-------------------------------+------------------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+------------------------------+
|
||||
// | 2019-02-09 14:43:00 +0000 UTC | 1.51 |
|
||||
// | 2019-02-09 14:44:00 +0000 UTC | 2.38 |
|
||||
// | 2019-02-09 14:45:00 +0000 UTC | 1.69 |
|
||||
// | 2019-02-09 14:46:00 +0000 UTC | 2.27 |
|
||||
// | 2019-02-09 14:47:00 +0000 UTC | 1.96 |
|
||||
// +-------------------------------+------------------------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
@@ -59,7 +59,9 @@
|
||||
"frame": "float64",
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {},
|
||||
"labels": {
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"unit": "percent",
|
||||
"links": [
|
||||
|
||||
+14
-12
@@ -9,17 +9,17 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 5 Rows
|
||||
// +-------------------------------+----------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+----------------------+
|
||||
// | 2019-02-09 14:44:00 +0000 UTC | 4 |
|
||||
// | 2019-02-09 14:45:00 +0000 UTC | 4 |
|
||||
// | 2019-02-09 14:46:00 +0000 UTC | 4 |
|
||||
// | 2019-02-09 14:47:00 +0000 UTC | 4 |
|
||||
// | 2019-02-09 14:48:00 +0000 UTC | 4 |
|
||||
// +-------------------------------+----------------------+
|
||||
// +-------------------------------+------------------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+------------------------------+
|
||||
// | 2019-02-09 14:44:00 +0000 UTC | 4 |
|
||||
// | 2019-02-09 14:45:00 +0000 UTC | 4 |
|
||||
// | 2019-02-09 14:46:00 +0000 UTC | 4 |
|
||||
// | 2019-02-09 14:47:00 +0000 UTC | 4 |
|
||||
// | 2019-02-09 14:48:00 +0000 UTC | 4 |
|
||||
// +-------------------------------+------------------------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
@@ -59,7 +59,9 @@
|
||||
"frame": "float64",
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {},
|
||||
"labels": {
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"unit": "percent",
|
||||
"links": [
|
||||
|
||||
+42
-39
@@ -9,18 +9,18 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 6 Rows
|
||||
// +-------------------------------+---------------------------+
|
||||
// | Name: Time | Name: Blob Count |
|
||||
// | Labels: | Labels: blobtype=PageBlob |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+---------------------------+
|
||||
// | 2019-02-09 15:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 16:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 17:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 18:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 19:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 20:21:00 +0000 UTC | null |
|
||||
// +-------------------------------+---------------------------+
|
||||
// +-------------------------------+-------------------------------------------------+
|
||||
// | Name: Time | Name: Blob Count |
|
||||
// | Labels: | Labels: blobtype=PageBlob, resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+-------------------------------------------------+
|
||||
// | 2019-02-09 15:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 16:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 17:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 18:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 19:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 20:21:00 +0000 UTC | null |
|
||||
// +-------------------------------+-------------------------------------------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -33,18 +33,18 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 6 Rows
|
||||
// +-------------------------------+----------------------------+
|
||||
// | Name: Time | Name: Blob Count |
|
||||
// | Labels: | Labels: blobtype=BlockBlob |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+----------------------------+
|
||||
// | 2019-02-09 15:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 16:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 17:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 18:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 19:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 20:21:00 +0000 UTC | null |
|
||||
// +-------------------------------+----------------------------+
|
||||
// +-------------------------------+--------------------------------------------------+
|
||||
// | Name: Time | Name: Blob Count |
|
||||
// | Labels: | Labels: blobtype=BlockBlob, resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+--------------------------------------------------+
|
||||
// | 2019-02-09 15:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 16:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 17:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 18:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 19:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 20:21:00 +0000 UTC | null |
|
||||
// +-------------------------------+--------------------------------------------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -57,18 +57,18 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 6 Rows
|
||||
// +-------------------------------+------------------------------------------+
|
||||
// | Name: Time | Name: Blob Count |
|
||||
// | Labels: | Labels: blobtype=Azure Data Lake Storage |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+------------------------------------------+
|
||||
// | 2019-02-09 15:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 16:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 17:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 18:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 19:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 20:21:00 +0000 UTC | null |
|
||||
// +-------------------------------+------------------------------------------+
|
||||
// +-------------------------------+----------------------------------------------------------------+
|
||||
// | Name: Time | Name: Blob Count |
|
||||
// | Labels: | Labels: blobtype=Azure Data Lake Storage, resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+----------------------------------------------------------------+
|
||||
// | 2019-02-09 15:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 16:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 17:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 18:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 19:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 20:21:00 +0000 UTC | null |
|
||||
// +-------------------------------+----------------------------------------------------------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
@@ -109,7 +109,8 @@
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {
|
||||
"blobtype": "PageBlob"
|
||||
"blobtype": "PageBlob",
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"unit": "short",
|
||||
@@ -179,7 +180,8 @@
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {
|
||||
"blobtype": "BlockBlob"
|
||||
"blobtype": "BlockBlob",
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"unit": "short",
|
||||
@@ -249,7 +251,8 @@
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {
|
||||
"blobtype": "Azure Data Lake Storage"
|
||||
"blobtype": "Azure Data Lake Storage",
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"unit": "short",
|
||||
|
||||
+42
-39
@@ -9,18 +9,18 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 6 Rows
|
||||
// +-------------------------------+---------------------------+
|
||||
// | Name: Time | Name: Blob Count |
|
||||
// | Labels: | Labels: blobtype=PageBlob |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+---------------------------+
|
||||
// | 2019-02-09 15:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 16:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 17:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 18:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 19:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 20:21:00 +0000 UTC | null |
|
||||
// +-------------------------------+---------------------------+
|
||||
// +-------------------------------+-------------------------------------------------+
|
||||
// | Name: Time | Name: Blob Count |
|
||||
// | Labels: | Labels: blobtype=PageBlob, resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+-------------------------------------------------+
|
||||
// | 2019-02-09 15:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 16:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 17:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 18:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 19:21:00 +0000 UTC | 3 |
|
||||
// | 2019-02-09 20:21:00 +0000 UTC | null |
|
||||
// +-------------------------------+-------------------------------------------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -33,18 +33,18 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 6 Rows
|
||||
// +-------------------------------+----------------------------+
|
||||
// | Name: Time | Name: Blob Count |
|
||||
// | Labels: | Labels: blobtype=BlockBlob |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+----------------------------+
|
||||
// | 2019-02-09 15:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 16:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 17:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 18:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 19:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 20:21:00 +0000 UTC | null |
|
||||
// +-------------------------------+----------------------------+
|
||||
// +-------------------------------+--------------------------------------------------+
|
||||
// | Name: Time | Name: Blob Count |
|
||||
// | Labels: | Labels: blobtype=BlockBlob, resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+--------------------------------------------------+
|
||||
// | 2019-02-09 15:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 16:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 17:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 18:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 19:21:00 +0000 UTC | 1 |
|
||||
// | 2019-02-09 20:21:00 +0000 UTC | null |
|
||||
// +-------------------------------+--------------------------------------------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -57,18 +57,18 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 6 Rows
|
||||
// +-------------------------------+------------------------------------------+
|
||||
// | Name: Time | Name: Blob Count |
|
||||
// | Labels: | Labels: blobtype=Azure Data Lake Storage |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+------------------------------------------+
|
||||
// | 2019-02-09 15:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 16:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 17:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 18:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 19:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 20:21:00 +0000 UTC | null |
|
||||
// +-------------------------------+------------------------------------------+
|
||||
// +-------------------------------+----------------------------------------------------------------+
|
||||
// | Name: Time | Name: Blob Count |
|
||||
// | Labels: | Labels: blobtype=Azure Data Lake Storage, resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+----------------------------------------------------------------+
|
||||
// | 2019-02-09 15:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 16:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 17:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 18:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 19:21:00 +0000 UTC | 0 |
|
||||
// | 2019-02-09 20:21:00 +0000 UTC | null |
|
||||
// +-------------------------------+----------------------------------------------------------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
@@ -109,7 +109,8 @@
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {
|
||||
"blobtype": "PageBlob"
|
||||
"blobtype": "PageBlob",
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"displayName": "blobtype=PageBlob",
|
||||
@@ -180,7 +181,8 @@
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {
|
||||
"blobtype": "BlockBlob"
|
||||
"blobtype": "BlockBlob",
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"displayName": "blobtype=BlockBlob",
|
||||
@@ -251,7 +253,8 @@
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {
|
||||
"blobtype": "Azure Data Lake Storage"
|
||||
"blobtype": "Azure Data Lake Storage",
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"displayName": "blobtype=Azure Data Lake Storage",
|
||||
|
||||
+30
-27
@@ -9,15 +9,15 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 3 Rows
|
||||
// +-------------------------------+------------------------------------------+
|
||||
// | Name: Time | Name: Blob Capacity |
|
||||
// | Labels: | Labels: blobtype=PageBlob, tier=Standard |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+------------------------------------------+
|
||||
// | 2020-06-30 09:58:00 +0000 UTC | 675530 |
|
||||
// | 2020-06-30 10:58:00 +0000 UTC | 675530 |
|
||||
// | 2020-06-30 11:58:00 +0000 UTC | 675530 |
|
||||
// +-------------------------------+------------------------------------------+
|
||||
// +-------------------------------+----------------------------------------------------------------+
|
||||
// | Name: Time | Name: Blob Capacity |
|
||||
// | Labels: | Labels: blobtype=PageBlob, resourceName=default, tier=Standard |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+----------------------------------------------------------------+
|
||||
// | 2020-06-30 09:58:00 +0000 UTC | 675530 |
|
||||
// | 2020-06-30 10:58:00 +0000 UTC | 675530 |
|
||||
// | 2020-06-30 11:58:00 +0000 UTC | 675530 |
|
||||
// +-------------------------------+----------------------------------------------------------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -30,15 +30,15 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 3 Rows
|
||||
// +-------------------------------+--------------------------------------+
|
||||
// | Name: Time | Name: Blob Capacity |
|
||||
// | Labels: | Labels: blobtype=BlockBlob, tier=Hot |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+--------------------------------------+
|
||||
// | 2020-06-30 09:58:00 +0000 UTC | 0 |
|
||||
// | 2020-06-30 10:58:00 +0000 UTC | 0 |
|
||||
// | 2020-06-30 11:58:00 +0000 UTC | 0 |
|
||||
// +-------------------------------+--------------------------------------+
|
||||
// +-------------------------------+------------------------------------------------------------+
|
||||
// | Name: Time | Name: Blob Capacity |
|
||||
// | Labels: | Labels: blobtype=BlockBlob, resourceName=default, tier=Hot |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+------------------------------------------------------------+
|
||||
// | 2020-06-30 09:58:00 +0000 UTC | 0 |
|
||||
// | 2020-06-30 10:58:00 +0000 UTC | 0 |
|
||||
// | 2020-06-30 11:58:00 +0000 UTC | 0 |
|
||||
// +-------------------------------+------------------------------------------------------------+
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -51,15 +51,15 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 3 Rows
|
||||
// +-------------------------------+-----------------------------------------------------+
|
||||
// | Name: Time | Name: Blob Capacity |
|
||||
// | Labels: | Labels: blobtype=Azure Data Lake Storage, tier=Cool |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+-----------------------------------------------------+
|
||||
// | 2020-06-30 09:58:00 +0000 UTC | 0 |
|
||||
// | 2020-06-30 10:58:00 +0000 UTC | 0 |
|
||||
// | 2020-06-30 11:58:00 +0000 UTC | 0 |
|
||||
// +-------------------------------+-----------------------------------------------------+
|
||||
// +-------------------------------+---------------------------------------------------------------------------+
|
||||
// | Name: Time | Name: Blob Capacity |
|
||||
// | Labels: | Labels: blobtype=Azure Data Lake Storage, resourceName=default, tier=Cool |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+---------------------------------------------------------------------------+
|
||||
// | 2020-06-30 09:58:00 +0000 UTC | 0 |
|
||||
// | 2020-06-30 10:58:00 +0000 UTC | 0 |
|
||||
// | 2020-06-30 11:58:00 +0000 UTC | 0 |
|
||||
// +-------------------------------+---------------------------------------------------------------------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
@@ -101,6 +101,7 @@
|
||||
},
|
||||
"labels": {
|
||||
"blobtype": "PageBlob",
|
||||
"resourceName": "default",
|
||||
"tier": "Standard"
|
||||
},
|
||||
"config": {
|
||||
@@ -167,6 +168,7 @@
|
||||
},
|
||||
"labels": {
|
||||
"blobtype": "BlockBlob",
|
||||
"resourceName": "default",
|
||||
"tier": "Hot"
|
||||
},
|
||||
"config": {
|
||||
@@ -233,6 +235,7 @@
|
||||
},
|
||||
"labels": {
|
||||
"blobtype": "Azure Data Lake Storage",
|
||||
"resourceName": "default",
|
||||
"tier": "Cool"
|
||||
},
|
||||
"config": {
|
||||
|
||||
+10
-8
@@ -9,13 +9,13 @@
|
||||
// }
|
||||
// Name:
|
||||
// Dimensions: 2 Fields by 1 Rows
|
||||
// +-------------------------------+----------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+----------------------+
|
||||
// | 2019-02-08 10:13:00 +0000 UTC | 2.0875 |
|
||||
// +-------------------------------+----------------------+
|
||||
// +-------------------------------+------------------------------+
|
||||
// | Name: Time | Name: Percentage CPU |
|
||||
// | Labels: | Labels: resourceName=grafana |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+------------------------------+
|
||||
// | 2019-02-08 10:13:00 +0000 UTC | 2.0875 |
|
||||
// +-------------------------------+------------------------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
@@ -55,7 +55,9 @@
|
||||
"frame": "float64",
|
||||
"nullable": true
|
||||
},
|
||||
"labels": {},
|
||||
"labels": {
|
||||
"resourceName": "grafana"
|
||||
},
|
||||
"config": {
|
||||
"displayName": "custom",
|
||||
"links": [
|
||||
|
||||
Reference in New Issue
Block a user