4.24. Other Metrics #

  • postgresql.up

Metrics collected by the health plugin:

  • postgresql.health.start_time_unixtime

  • postgresql.health.uptime_milliseconds

Metrics collected by the version plugin:

  • postgresql.version{edition}

  • postgresql.version_num{edition}

Metrics based on the pg_ls_logdir() function, collected by the logs plugin:

  • postgresql.logs.directory_size_bytes{location}

Metrics based on the pg_settings view, collected by the settings_info plugin:

  • postgresql.settings_info{name, value, unit, context, vartype, source, boot_val, reset_val}

Metrics based on the pg_stat_slru view, collected by the pg_stat_slru plugin:

  • postgresql.slru.blocks_zeroed{name}

  • postgresql.slru.blocks_hit{name}

  • postgresql.slru.blocks_read{name}

  • postgresql.slru.blocks_written{name}

  • postgresql.slru.blocks_exists{name}

  • postgresql.slru.flushes{name}

  • postgresql.slru.truncates{name}

  • postgresql.slru.stats_reset{name}