Open for Voting

Using API response for display name of an value

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.

Parents
  •  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.

Comment
  •  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.

Children
No Data