A normal ping says nothing when a reply goes missing. It just skips a sequence number, and in a long run you will never spot that gap.
ping -O -D 192.0.2.1
The man page describes -O as reporting an outstanding reply before the next packet is sent. In practice you get a line like no answer yet for icmp_seq=42 each time a reply does not come back in time. -D puts a Unix timestamp in front of every line, so you can later match a gap to a log entry on your router or server.
I’d leave it writing to a file while you try to reproduce a problem:
ping -O -D 192.0.2.1 | tee ping.log
grep -c 'no answer' ping.log
The count tells you how many replies went missing, and the timestamps tell you when.
To turn a timestamp into a readable date, run date -d @1764500000 with the number before the dot.
-O is a feature of the iputils ping that most Linux distributions ship. BusyBox ping and the macOS version do not have it. Also keep in mind that a missing ICMP reply is not always a network problem; some routers give ICMP a low priority when they are busy, so test against a host that answers ping reliably.
Further reading: ping(8) manual page