# HELP patroni_version Patroni semver without periods. # TYPE patroni_version gauge patroni_version{scope="pg-center",name="pg-center-1"} 040100 # HELP patroni_postgres_running Value is 1 if Postgres is running, 0 otherwise. # TYPE patroni_postgres_running gauge patroni_postgres_running{scope="pg-center",name="pg-center-1"} 1 # HELP patroni_postmaster_start_time Epoch seconds since Postgres started. # TYPE patroni_postmaster_start_time gauge patroni_postmaster_start_time{scope="pg-center",name="pg-center-1"} 1774424409.245027 # HELP patroni_primary Value is 1 if this node is the leader, 0 otherwise. # TYPE patroni_primary gauge patroni_primary{scope="pg-center",name="pg-center-1"} 1 # HELP patroni_xlog_location Current location of the Postgres transaction log, 0 if this node is not the leader. # TYPE patroni_xlog_location counter patroni_xlog_location{scope="pg-center",name="pg-center-1"} 721420288 # HELP patroni_standby_leader Value is 1 if this node is the standby_leader, 0 otherwise. # TYPE patroni_standby_leader gauge patroni_standby_leader{scope="pg-center",name="pg-center-1"} 0 # HELP patroni_replica Value is 1 if this node is a replica, 0 otherwise. # TYPE patroni_replica gauge patroni_replica{scope="pg-center",name="pg-center-1"} 0 # HELP patroni_sync_standby Value is 1 if this node is a sync standby, 0 otherwise. # TYPE patroni_sync_standby gauge patroni_sync_standby{scope="pg-center",name="pg-center-1"} 0 # HELP patroni_quorum_standby Value is 1 if this node is a quorum standby, 0 otherwise. # TYPE patroni_quorum_standby gauge patroni_quorum_standby{scope="pg-center",name="pg-center-1"} 0 # HELP patroni_xlog_received_location Current location of the received Postgres transaction log, 0 if this node is not a replica. # TYPE patroni_xlog_received_location counter patroni_xlog_received_location{scope="pg-center",name="pg-center-1"} 0 # HELP patroni_xlog_replayed_location Current location of the replayed Postgres transaction log, 0 if this node is not a replica. # TYPE patroni_xlog_replayed_location counter patroni_xlog_replayed_location{scope="pg-center",name="pg-center-1"} 0 # HELP patroni_xlog_replayed_timestamp Current timestamp of the replayed Postgres transaction log, 0 if null. # TYPE patroni_xlog_replayed_timestamp gauge patroni_xlog_replayed_timestamp{scope="pg-center",name="pg-center-1"} 0 # HELP patroni_xlog_paused Value is 1 if the Postgres xlog is paused, 0 otherwise. # TYPE patroni_xlog_paused gauge patroni_xlog_paused{scope="pg-center",name="pg-center-1"} 0 # HELP patroni_postgres_streaming Value is 1 if Postgres is streaming, 0 otherwise. # TYPE patroni_postgres_streaming gauge patroni_postgres_streaming{scope="pg-center",name="pg-center-1"} 0 # HELP patroni_postgres_in_archive_recovery Value is 1 if Postgres is replicating from archive, 0 otherwise. # TYPE patroni_postgres_in_archive_recovery gauge patroni_postgres_in_archive_recovery{scope="pg-center",name="pg-center-1"} 0 # HELP patroni_postgres_server_version Version of Postgres (if running), 0 otherwise. # TYPE patroni_postgres_server_version gauge patroni_postgres_server_version {scope="pg-center",name="pg-center-1"} 180003 # HELP patroni_cluster_unlocked Value is 1 if the cluster is unlocked, 0 if locked. # TYPE patroni_cluster_unlocked gauge patroni_cluster_unlocked{scope="pg-center",name="pg-center-1"} 0 # HELP patroni_failsafe_mode_is_active Value is 1 if failsafe mode is active, 0 if inactive. # TYPE patroni_failsafe_mode_is_active gauge patroni_failsafe_mode_is_active{scope="pg-center",name="pg-center-1"} 0 # HELP patroni_postgres_timeline Postgres timeline of this node (if running), 0 otherwise. # TYPE patroni_postgres_timeline counter patroni_postgres_timeline{scope="pg-center",name="pg-center-1"} 2 # HELP patroni_dcs_last_seen Epoch timestamp when DCS was last contacted successfully by Patroni. # TYPE patroni_dcs_last_seen gauge patroni_dcs_last_seen{scope="pg-center",name="pg-center-1"} 1774452821 # HELP patroni_pending_restart Value is 1 if the node needs a restart, 0 otherwise. # TYPE patroni_pending_restart gauge patroni_pending_restart{scope="pg-center",name="pg-center-1"} 0 # HELP patroni_is_paused Value is 1 if auto failover is disabled, 0 otherwise. # TYPE patroni_is_paused gauge patroni_is_paused{scope="pg-center",name="pg-center-1"} 0 # HELP patroni_postgres_state Numeric representation of Postgres state. # Values: 0=initdb, 1=initdb_failed, 2=custom_bootstrap, 3=custom_bootstrap_failed, 4=creating_replica, 5=running, 6=starting, 7=bootstrap_starting, 8=start_failed, 9=restarting, 10=restart_failed, 11=stopping, 12=stopped, 13=stop_failed, 14=crashed # TYPE patroni_postgres_state gauge patroni_postgres_state{scope="pg-center",name="pg-center-1"} 5