Open yummydsky opened 1 year ago
Hi @yummydsky, see your error message. There is no Network In Total
and Network Out Total
in the Valid metrics. Please try Network In
and Network Out
.
Hi @yummydsky, see your error message. There is no
Network In Total
andNetwork Out Total
in the Valid metrics. Please tryNetwork In
andNetwork Out
.
This is the real request and response from API metricsClient.List
{
"cost": 8,
"interval": "PT5M",
"namespace": "Microsoft.Compute/virtualMachines",
"resourceregion": "westus2",
"timespan": "2023-10-18T05:49:34Z/2023-10-18T05:54:34Z",
"value": [
{
"displayDescription": "The number of bytes received on all network interfaces by the Virtual Machine(s) (Incoming Traffic)",
"errorCode": "Success",
"id": "/subscriptions/xxx-xxx-xxx-xxx/resourceGroups/test-grp/providers/Microsoft.Compute/virtualMachines/test-vm-1/providers/Microsoft.Insights/metrics/Network In Total",
"name": {
"localizedValue": "Network In Total",
"value": "Network In Total"
},
"timeseries": [
{
"data": [
{
"average": 45728.4,
"timeStamp": "2023-10-18T05:49:00Z"
}
],
"metadatavalues": []
}
],
"type": "Microsoft.Insights/metrics",
"unit": "Bytes"
},
{
"displayDescription": "The number of bytes out on all network interfaces by the Virtual Machine(s) (Outgoing Traffic)",
"errorCode": "Success",
"id": "/subscriptions/xxx-xxx-xxx-xxx/resourceGroups/test-grp/providers/Microsoft.Compute/virtualMachines/test-vm-1/providers/Microsoft.Insights/metrics/Network Out Total",
"name": {
"localizedValue": "Network Out Total",
"value": "Network Out Total"
},
"timeseries": [
{
"data": [
{
"average": 71674.6,
"timeStamp": "2023-10-18T05:49:00Z"
}
],
"metadatavalues": []
}
],
"type": "Microsoft.Insights/metrics",
"unit": "Bytes"
}
]
}
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @SameergMS @dadunl @AzMonEssential @AzmonAlerts @AzmonActionG @AzmonLogA.
Bug Report
.../services/compute/mgmt/2018-06-01/compute
master
,latest
,18.1.0
go version
ListAtSubscriptionScopePost
with MetricNamesNetwork In Total
andNetwork Out Total
metricsClient.List
did The following message is dump result.ListAtSubscriptionScopePost
with metric nameNetwork In Total
andNetwork Out Total
.