Alerts: different conditions for different labels?

  • What Grafana version and what operating system are you using?
    Grafana v7.1.5 (9893b8c53d)

  • What are you trying to achieve?
    Assuming I have a counter with 3 different labels, how can I create an alert with a different condition for each of the labels, without splitting the query into 3?
    .
    So instead of a 3 queries like this:rate(my_counter{mylabel=1}[30s]) I’d like to use just a single query: rate(my_counter[30s]), and create different conditions for mylabel=1, mylabel=2, mylabel=3. Is it possible?

  • Did you follow any online instructions? If so, what is the URL?
    Couldn’t find anything similar online.