Hi currently there is no support for dimensions when pulling metrics using the Add-on.
The Azure Docs state that metrics with dimensions can be pulled by adding a filter parameter to the request. ($filter=HttpStatusGroup eq '*'). However all metric don't have the same dimensions so it will be tricky to add a filter for each metric in a namespace.
The docs state that in order to pull the dimension level metric we first need to get all dimensions by namespace and then GET the metric value for a dimension by adding a filter param.
This will prob be a little tricky as one would first need to pull the metrics definition and their corresponding dimensions (if they exist) and then create a wildcard filter query for each metric and dimension.
Hi currently there is no support for dimensions when pulling metrics using the Add-on. The Azure Docs state that metrics with dimensions can be pulled by adding a filter parameter to the request. ($filter=HttpStatusGroup eq '*'). However all metric don't have the same dimensions so it will be tricky to add a filter for each metric in a namespace. The docs state that in order to pull the dimension level metric we first need to get all dimensions by namespace and then GET the metric value for a dimension by adding a filter param.
Get Dimension Values For Metric Get Metric Values w Dimension
This will prob be a little tricky as one would first need to pull the metrics definition and their corresponding dimensions (if they exist) and then create a wildcard filter query for each metric and dimension.
I wish there was a better way of doing this.