i’m using a prometheus exporter like windows_exporter and expose windows services with multi-dimensions.
when i when to create an alarm with :
lookup: max -30s
info: Prometheus test monitoring
it work with the sum of all dimensions, but i need the value of only one dimension : it’s name in the graphe is name=windows_exporter,state=running
Unfortunately when i try to use lookup: max -30s of name=windows_exporter,state=running, it doen’t work: no value returned.
Is there any way to get the value of a dimension named like “name=windows_exporter,state=running” ?
Thank’s for your help
We have a bug here. The comma is used to separate different dimensions, but in this case, a single dimension includes the comma it its name. We should have never named the dimension this way. Without reading the code I tried to enter a double quote around a similar dimension, but all that did was include the quote in the dimension name, so still it doesn’t work. Opening a bug report to get this addressed.
i have updated with version 1.381, it solve the problem by creating 2 charts per service, and then remove multidimension with “,” separator.
but i loose all my data’s before update .