Metrics based on the pg_stat_user_functions view:
pg_stat_user_functions
postgresql_functions_calls_total
postgresql_functions_self_time_milliseconds_total
postgresql_functions_time_milliseconds_total
Ответы на вопросы