Skip to content

(pg17) monitor logical slot sync #398

Description

@hunleyd

Describe the enhancement you are proposing:

pg_replication_slot is changed in pg17 to show if logical slots are in sync or not. would be nice to have a metric around that. see this blog.

Activity

  1. added this to the Future milestone on May 15, 2024
  2. keithf4 commented on May 17, 2024

    @keithf4
    Contributor

    Will review this once PG17 is released and the full feature set of this has been finalized and documented.

    Right now, hard to tell if the synced column is something that will periodically change and may be false for periods of time while the slot info is being updated. Might need to have a bit of a delay on this as an alert.

  3. added
    NEED INFONeed's more information from reporter (if ISSUE) or the Crunchy HA Team (if PR)
    and removed
    UNCONFIRMEDInitial state. Need's triaged
    on May 17, 2024
  4. added
    FEATURENew feature or request
    and removed
    NEED INFONeed's more information from reporter (if ISSUE) or the Crunchy HA Team (if PR)
    on Jan 10, 2025
  5. modified the milestones: Future, 5.2 on Jan 10, 2025
  6. keithf4 commented on Jan 10, 2025

    @keithf4
    Contributor

    Will definitely have the new metrics for this in for 5.2. Need to do some further investigation to how the failover and synced columns actually work to make a sane alert for them. But at least they'll be there if someone else wants to try and do that too. Added some additional other slot related metrics too

  7. modified the milestones: 5.2, 5.3 on May 8, 2025
  8. keithf4 commented on Jun 27, 2025

    @keithf4
    Contributor

    Will work on adding alerts for this after the next version is out and the metrics are available. Will be easier to evaluate and test then

  9. modified the milestones: 5.3, 5.4 on Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FEATURENew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions