Open
Description
Call for Metrics
in Microsoft.Insights
returns empty results for all accounts intermittently
DEBUG: [Common.Authentication]: Authenticating using Account: 'MSI@50342', environment: 'AzureCloud', tenant: 'd22c77f4-2e36-47f9-91bd-85176efc7a36'
DEBUG: [HttpClientOperations]: Adding Header 'Metadata'
DEBUG: Checking Cache request http://localhost:50342/oauth2/token?resource=https%3A%2F%2Fmanagement.core.windows.net%2F&api-version=2018-02-01
DEBUG: Cache Hit
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
GET
Absolute Uri:
https://management.azure.com//subscriptions/5f5c5be9-a2dd-49c9-bfa1-77d4db790171/resourceGroups/BrazilSouthCommVault/providers/Microsoft.Storage/storageAccounts/cvnsabrazilsouthlrs/providers/microsoft.insights/metrics?timespan=2019-09-30T20%3A18%3A23.0881904Z%2F2019-09-30T21%3A18%3A23.0881904Z&api-version=2018-01-01
Headers:
x-ms-client-request-id : 6b70e34a-2cab-406c-b2e2-a81f69a09284
Accept-Language : en-US
Body:
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
OK
Headers:
Cache-Control : no-cache
Vary : Accept-Encoding
x-ms-ratelimit-remaining-subscription-reads: 11999
x-ms-request-id : {a367ac6a-85f7-42dc-909c-b8d8b940b78f}
Server : Microsoft-IIS/10.0
X-AspNet-Version : 4.0.30319
X-Powered-By : ASP.NET
x-ms-correlation-request-id : a367ac6a-85f7-42dc-909c-b8d8b940b78f
x-ms-routing-request-id : SOUTHCENTRALUS:20190930T211823Z:a367ac6a-85f7-42dc-909c-b8d8b940b78f
Strict-Transport-Security : max-age=31536000; includeSubDomains
X-Content-Type-Options : nosniff
Date : Mon, 30 Sep 2019 21:18:22 GMT
Body:
{
"cost": 0,
"timespan": "2019-09-30T20:18:23Z/2019-09-30T21:18:23Z",
"interval": "PT1H",
"value": [
{
"id": "/subscriptions/5f5c5be9-a2dd-49c9-bfa1-77d4db790171/resourceGroups/BrazilSouthCommVault/providers/Microsoft.Storage/storageAccounts/cvnsabrazilsouthlrs/providers/Microsoft.Insights/metrics/UsedCapacity",
"type": "Microsoft.Insights/metrics",
"name": {
"value": "UsedCapacity",
"localizedValue": "Used capacity"
},
"unit": "Bytes",
"timeseries": [
{
"metadatavalues": [],
"data": [
{
"timeStamp": "2019-09-30T20:18:00Z"
}
]
}
]
}
],
"namespace": "Microsoft.Storage/storageAccounts",
"resourceregion": "brazilsouth"
}
TimeStamp : 9/30/19 8:18:00 PM
Average :
Minimum :
Maximum :
Total :
Count :
DEBUG: AzureQoSEvent: CommandName - Get-AzMetric; IsSuccess - True; Duration - 00:00:00.2554757; Exception - ;
DEBUG: Finish sending metric.
DEBUG: 9:18:23 PM - GetAzureRmMetricCommand end processing.
DEBUG: 9:18:23 PM - GetAzureRmMetricCommand end processing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment