8.7. User-Defined Function Usage Metrics #

Metrics based on the pg_stat_user_functions view:

  • postgresql.functions.calls

  • postgresql.functions.self_time_milliseconds

  • postgresql.functions.time_milliseconds