Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export last replay age in replication collector #1085

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 12, 2024

  1. Export last replay age in replication collector

    The exported replication lag does not handle all failure modes, and can
    report 0 for replicas that are out of sync and incapable of recovery.
    
    A proper replacement for that metric would require a different approach
    (see e.g. prometheus-community#1007), but for a lot of folks, simply exporting the age of
    the last replay can provide a pretty strong signal for something being
    amiss.
    
    I think this solution might be preferable to prometheus-community#977, though the lag
    metric needs to be fixed or abandoned eventually.
    
    Signed-off-by: Conrad Hoffmann <[email protected]>
    bitfehler committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    2f77145 View commit details
    Browse the repository at this point in the history