Sucess Black Box grafic

Hy all.

I trying to create some server monitor with prometheus and black box and the test proceed prety great but now im need to create some grafic to show succes and failed of probes in black box. Follow we have a picture to show what i trying to simulate:


My metrics are just zero and one, but i cant find a way to represent the grafic like the picture.