I'm trying to access the metrics using the Azure Insights API as per the following MSDN blog.
My Request URL is:
with proper Accept and Authorization headers.
The same thing works for metricDefinitions and I get back a bunch of MetricDefinitions. But when I try to access the /metrics endpoint, I get back this:
{
"error": {
"code": "BadRequest",
"message": "The request URL is not valid."
}
}
Is there anyway to know what am I doing wrong in the request?