azuremonitor: add support for aggregations on backend
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"cost": 0,
|
||||
"timespan": "2019-02-09T13:29:41Z\/2019-02-09T19:29:41Z",
|
||||
"interval": "PT1M",
|
||||
"value": [
|
||||
{
|
||||
"id": "\/subscriptions\/44693801-6ee6-49de-9b2d-9106972f9572\/resourceGroups\/grafanastaging\/providers\/Microsoft.Compute\/virtualMachines\/grafana\/providers\/Microsoft.Insights\/metrics\/Percentage CPU",
|
||||
"type": "Microsoft.Insights\/metrics",
|
||||
"name": {
|
||||
"value": "Percentage CPU",
|
||||
"localizedValue": "Percentage CPU"
|
||||
},
|
||||
"unit": "Percent",
|
||||
"timeseries": [
|
||||
{
|
||||
"metadatavalues": [
|
||||
|
||||
],
|
||||
"data": [
|
||||
{
|
||||
"timeStamp": "2019-02-09T13:29:00Z",
|
||||
"total": 8.26
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T13:30:00Z",
|
||||
"total": 8.7
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T13:31:00Z",
|
||||
"total": 14.82
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T13:32:00Z",
|
||||
"total": 10.07
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T13:33:00Z",
|
||||
"total": 8.52
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"namespace": "Microsoft.Compute\/virtualMachines",
|
||||
"resourceregion": "westeurope"
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"cost": 0,
|
||||
"timespan": "2019-02-09T14:26:12Z\/2019-02-09T20:26:12Z",
|
||||
"interval": "PT1M",
|
||||
"value": [
|
||||
{
|
||||
"id": "\/subscriptions\/44693801-6ee6-49de-9b2d-9106972f9572\/resourceGroups\/grafanastaging\/providers\/Microsoft.Compute\/virtualMachines\/grafana\/providers\/Microsoft.Insights\/metrics\/Percentage CPU",
|
||||
"type": "Microsoft.Insights\/metrics",
|
||||
"name": {
|
||||
"value": "Percentage CPU",
|
||||
"localizedValue": "Percentage CPU"
|
||||
},
|
||||
"unit": "Percent",
|
||||
"timeseries": [
|
||||
{
|
||||
"metadatavalues": [
|
||||
|
||||
],
|
||||
"data": [
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:26:00Z",
|
||||
"maximum": 3.07
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:27:00Z",
|
||||
"maximum": 2.92
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:28:00Z",
|
||||
"maximum": 2.87
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:29:00Z",
|
||||
"maximum": 2.27
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:30:00Z",
|
||||
"maximum": 2.52
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"namespace": "Microsoft.Compute\/virtualMachines",
|
||||
"resourceregion": "westeurope"
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"cost": 0,
|
||||
"timespan": "2019-02-09T14:43:21Z\/2019-02-09T20:43:21Z",
|
||||
"interval": "PT1M",
|
||||
"value": [
|
||||
{
|
||||
"id": "\/subscriptions\/44693801-6ee6-49de-9b2d-9106972f9572\/resourceGroups\/grafanastaging\/providers\/Microsoft.Compute\/virtualMachines\/grafana\/providers\/Microsoft.Insights\/metrics\/Percentage CPU",
|
||||
"type": "Microsoft.Insights\/metrics",
|
||||
"name": {
|
||||
"value": "Percentage CPU",
|
||||
"localizedValue": "Percentage CPU"
|
||||
},
|
||||
"unit": "Percent",
|
||||
"timeseries": [
|
||||
{
|
||||
"metadatavalues": [
|
||||
|
||||
],
|
||||
"data": [
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:43:00Z",
|
||||
"minimum": 1.51
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:44:00Z",
|
||||
"minimum": 2.38
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:45:00Z",
|
||||
"minimum": 1.69
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:46:00Z",
|
||||
"minimum": 2.27
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:47:00Z",
|
||||
"minimum": 1.96
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"namespace": "Microsoft.Compute\/virtualMachines",
|
||||
"resourceregion": "westeurope"
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"cost": 0,
|
||||
"timespan": "2019-02-09T14:44:52Z\/2019-02-09T20:44:52Z",
|
||||
"interval": "PT1M",
|
||||
"value": [
|
||||
{
|
||||
"id": "\/subscriptions\/44693801-6ee6-49de-9b2d-9106972f9572\/resourceGroups\/grafanastaging\/providers\/Microsoft.Compute\/virtualMachines\/grafana\/providers\/Microsoft.Insights\/metrics\/Percentage CPU",
|
||||
"type": "Microsoft.Insights\/metrics",
|
||||
"name": {
|
||||
"value": "Percentage CPU",
|
||||
"localizedValue": "Percentage CPU"
|
||||
},
|
||||
"unit": "Percent",
|
||||
"timeseries": [
|
||||
{
|
||||
"metadatavalues": [
|
||||
|
||||
],
|
||||
"data": [
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:44:00Z",
|
||||
"count": 4
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:45:00Z",
|
||||
"count": 4
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:46:00Z",
|
||||
"count": 4
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:47:00Z",
|
||||
"count": 4
|
||||
},
|
||||
{
|
||||
"timeStamp": "2019-02-09T14:48:00Z",
|
||||
"count": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"namespace": "Microsoft.Compute\/virtualMachines",
|
||||
"resourceregion": "westeurope"
|
||||
}
|
||||
Reference in New Issue
Block a user