-
Notifications
You must be signed in to change notification settings - Fork 457
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
Expose LSN and replication delay as metrics #7610
Conversation
2886 tests run: 2759 passed, 0 failed, 127 skipped (full report)Code coverage* (full report)
* collected from Rust tests only The comment gets automatically updated with the latest test results
057672c at 2024-05-06T22:59:58.713Z :recycle: |
What is the difference between the |
Ok, found the explanation in the commit message of commit 4b55dad:
So if I understand correctly, the point of the "autoscaling" metrics is to expose metrics that will be used by autoscaling, to make scaling decisions. The replication lag metrics doesn't seem necessary for that. So I think these new metrics should only be added to the |
Got it, good catch! I just kind of assumed they were there because we for some reason had different specs for pods and vms. Just removed it. |
9531ba4
to
d86ffaf
Compare
a5ed329
to
057672c
Compare
## Problem We currently have no way to see what the current LSN of a compute its, and in case of read replicas, we don't know what the difference in LSNs is. ## Summary of changes Adds these metrics
Problem
We currently have no way to see what the current LSN of a compute its, and in case of read replicas, we don't know what the difference in LSNs is.
Summary of changes
Adds these metrics