You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ccp_is_in_recovery_status. It looks like the description in the documentation contains a mistake.
Current description:ccp_is_in_recovery_status - Current value of the pg_is_in_recovery() function expressed as 2 for true (instance is a replica) and 1 for false (instance is a primary)
2 - replica
1 - primary
And on the other side - query:
ccp_is_in_recovery:
query: "SELECT CASE WHEN pg_is_in_recovery = true THEN 1 ELSE 2 END AS status from pg_is_in_recovery();"metrics:
- status:
1 - replica
2 - primary
Expected behavior: Correct description of the metric
ccp_is_in_recovery_status - Current value of the pg_is_in_recovery() function expressed as 1 for true (instance is a replica) and 2 for false (instance is a primary)
The text was updated successfully, but these errors were encountered:
ccp_is_in_recovery_status. It looks like the description in the documentation contains a mistake.
Current description: ccp_is_in_recovery_status - Current value of the pg_is_in_recovery() function expressed as 2 for true (instance is a replica) and 1 for false (instance is a primary)
And on the other side - query:
Expected behavior: Correct description of the metric
The text was updated successfully, but these errors were encountered: