8.7. User-Defined Function Usage Metrics #

Metrics based on the pg_stat_user_functions view:

  • postgresql_functions_calls_total

  • postgresql_functions_self_time_milliseconds_total

  • postgresql_functions_time_milliseconds_total