i just scraped values of uptime from UptimeKuma using Prometheus with a query like this (monitor_status{monitor_name=“Example-Server”}). How can I calculate the total count of values that are 2 ?
If I want to calculate the total value that contains 0, how do I do it?
you can’t divide by zero, so in that step, add a 1 instead…




