It would be great to use the API call response not only for getting the values but also the "Display Name" of that value to have a dynamic display name.
@ralfs Could you provide an example what are you trying to accomplish?
@jan.rachwalik If you request for example metrics from Azure which have more that one dimension Microsoft does not guarantee that they come always in the same order. When I request for example the state of the PODs in a Kubernetes Namespace (management.azure.com/[many characters]/metricnames=kube_pod_status_phase&$filter=namespace eq 'orion' and phase eq '*'&aggregation=Average) the order of the list is different for each request. Therefore I want to have the "Display Name" of the metric dynamic. Workaround is to create for each metric it's own API request but I do not think that this is very elegant.
OK. Thanks for quick answer and the details. The request makes sense.