On 7/28/22 09:02, Brian Candler wrote:
 > I want to compare the value of contextCSN from each ldap server.

If you know a specific value of contextCSN that you're looking for, then you can put it in a label, and your alerting expression can check for the absence of a timeseries:
     expr: absent(foo{instance="bar",contextCSN="abcd1234"})

OpenLDAP's contextCSN values change a lot for each write operation to one of the provider replicas. From my understanding putting these values in labels would create a new time-series all the time you write to your OpenLDAP servers.

Or maybe I did not really get your idea.

Ciao, Michael.

--
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/7127d1b4-c157-0d41-96fc-d2c9a9e94211%40stroeder.com.

Reply via email to