Monitor dashboard display time


I have been given an objective that my dashboards should display in less than 5 seconds 99% of the time, so I am looking for a way to monitor this time.

AFAIK, Grafana doesn’t produce such metrics. I have a solution using a proxy which intercepts all requests sent to database (I’m using Clickhouse datasource), but it is rather complex.

What could be the good way to do this inside Grafana?