Average Page Generation Time SQL

I need a more granular alert on the Average Page Generation time. Can someone point me to how I can use SQL directly to MySQL to obtain the metric.
I’ve looked at the visit and action tables but cannot determine the fields needed to do so.

Thanks

I think custom_float in matomo_log_link_visit_action is the place to get it and the value is in milliseconds. Can someone please confirm?
Thanks