Error in retrieving metric values from metric definitions of Microsoft Azure REST api -
i trying metric values of different metric definitions through rest uri.
https://management.azure.com/subscriptions/{subscriptionid}/resourcegroups/{resource groupname}/providers/microsoft.compute/virtualmachines/{vm name}/providers/microsoft.insights/metrics?api-version=2016-09-01
it returns me percentage cpu metric values while other metric definitions values doesn't show up.
what issue?
it returns me percentage cpu metric values while other metric definitions values doesn't show up.
as far know, if no filters specified, default metric returned. can specify metrics' name in filter make returns metrics want.
i'm using following filters, , can percentage cpu
, network in
metrics response.
$filter=(name.value%20eq%20'percentage%20cpu'%20or%20name.value%20eq%20'network%20in')%20and%20starttime%20eq%202017-08-19%20and%20endtime%20eq%202017-08-21
Comments
Post a Comment