4.1. Activity Metrics #

Metrics based on the pg_stat_activity view, collected by the activity plugin:

  • postgresql.activity.connections{database, user, state}

  • postgresql.activity.transactions_max_duration_milliseconds{state}

  • postgresql.activity.vacuums{type}

  • postgresql.activity.vacuums_max_duration_milliseconds{type}

  • postgresql.activity.wait_events{type, event}