2 Node is UP and Running and I want to get alerts if both nodes get down, for that I am writing queries in Prometheus but getting an error
up{service="brokerA-metrics"} and {service="brokerB-metrics"} == 1
I am getting NO DATA POINT
up({service="brokerA-metrics"} and {service="brokerB-metrics"}) == 1
Error executing query: parse error at char 4: unknown function with name "up"
What is the solution for this?