check-patroni/tests/json/node_is_leader_ok_standby_leader.json
benoit 259f04587b Add a node_is_leader service to check for the leader states
It's possible to check for any kind of leader of specifically for a
standby leader.
2023-08-23 18:22:49 +02:00

20 lines
463 B
JSON

{
"state": "running",
"postmaster_start_time": "2023-08-23 14:30:50.201691+00:00",
"role": "standby_leader",
"server_version": 140009,
"xlog": {
"received_location": 889192448,
"replayed_location": 889192448,
"replayed_timestamp": null,
"paused": false
},
"timeline": 1,
"dcs_last_seen": 1692805971,
"database_system_identifier": "7270495803765492571",
"patroni": {
"version": "3.1.0",
"scope": "patroni-demo-sb"
}
}