Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

[+] add lag in milliseconds to replication metrics #607

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

kmoppel-cognite
Copy link
Collaborator

In addition to lag bytes

@kmoppel-cognite
Copy link
Collaborator Author

I think milliseconds is enough precision. Technically Postgres has microseconds for time, but real world networking isn't really sub 1ms I think?

Copy link
Collaborator

@pashagolub pashagolub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@pashagolub pashagolub changed the title Metrics: replication - add lag in milliseconds [+] add lag in milliseconds to replication metrics Feb 21, 2023
@pashagolub pashagolub self-assigned this Feb 21, 2023
@pashagolub pashagolub merged commit cd8d201 into master Feb 21, 2023
@pashagolub pashagolub deleted the replication-metric-add-lag-in-milliseconds branch February 21, 2023 10:04
pashagolub added a commit to cybertec-postgresql/pgwatch that referenced this pull request Feb 21, 2023
pashagolub added a commit to cybertec-postgresql/pgwatch that referenced this pull request Feb 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants