You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fact that Prometheus labels are case sensitive leads to user operating errors. I.e. region='NA-US-1' instead of region='na-us-1'.
If the options for those labels would be predefined (i.e. dropdown menu), we would prevent wrong user input.
For labels with a limited range of options, like region, it could be a hard coded list, because i.e. the regions are more or less static. For labels, like cluster or hosts, this is probably not an option.
Alternatively you could get the label values directly from Prometheus.
Initially I thought about just transforming every input to lowercase. But obviously labels don't have to be lowercase. So this is not an option.
Example template: VMware maintenance - VCenterRedundancyLostHAPolicyNotConfigured
The text was updated successfully, but these errors were encountered:
The fact that Prometheus labels are case sensitive leads to user operating errors. I.e. region='NA-US-1' instead of region='na-us-1'.
If the options for those labels would be predefined (i.e. dropdown menu), we would prevent wrong user input.
For labels with a limited range of options, like region, it could be a hard coded list, because i.e. the regions are more or less static. For labels, like cluster or hosts, this is probably not an option.
Alternatively you could get the label values directly from Prometheus.
Initially I thought about just transforming every input to lowercase. But obviously labels don't have to be lowercase. So this is not an option.
Example template: VMware maintenance - VCenterRedundancyLostHAPolicyNotConfigured
The text was updated successfully, but these errors were encountered: