
prometheus + postgres_exporter监控postgresql
pg_total_relation_size_bytes:每个数据库中所有表和索引的总大小。pg_stat_user_indexes_tup_read:用户索引扫描期间读取的元组数。pg_stat_user_indexes_scan_count:用户索引扫描的次数。pg_stat_activity_waiting_count:当前等待中的连接数。pg_stat_activity_idle_count:当前空闲的连接数。pg_stat_activity_count:当前活跃的连接数。













