Record a URL downtime

Hi All

In my organization we use Synthitic monitor to deliver our SLA / uptime report to our customers, but now we want to include more information like how many times the URL was down, the time stamp when the URL was down and how many times and when the URL was disabled.

Has anyone done something similar? I was checking and could not find on the Prometheus instance any similar query but only found queries for successful probe, nothing for counting the failed probes.

thanks for the help I may receive

regards

Stiven Castro