Blackbox query for probe metrics

I have around 1000 targets that are probed using HTTP.

job="http_2xx", env="prod", instance="x.x.x.x"
job="http_2xx", env="test", instance="y.y.y.y"
job="http_2xx", env="dev", instance="z.z.z.z"

I want to know for the targets if:

  1. Rate of failure by env in last 10 minutes.
  2. Increase in rate of failure by env in last 10 minutes.
  3. Curious what the following does:

rate(probe_success{job="http_2xx", env="prod"}[5m]) * 100

The closest I have reached is with following to find operational by env in 10 minutes:

avg(avg_over_time(probe_success{job="http_2xx", env="prod"}[10m]) * 100)