Network Error logging can be enabled for your website with a single line of code or configuration, there is no complex setup.
Once enabled, web browsers will send reports if they can no longer access your website.
The Network Error Logging mechanism provides a native sampling mechanism for send reports about failures.
This means you can easily prevent a flood of reports if you have a widespread issue, but still get the reports you need.
We use the Reporting API to power many of our features, here are some other features that you may be interested in reading more about.