-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Postgres: Add postgres.snapshot.{xmin,xmax,xip_count}
metric
#13777
Conversation
e4838b3
to
971d9a0
Compare
971d9a0
to
19b6598
Compare
The |
9eddae2
to
bc59b4d
Compare
postgres.transactions.xid
metric to report global txidpostgres.snapshot.{xmin,xmax,xip_count}
metric
The |
bc59b4d
to
d652a5a
Compare
The |
2 similar comments
The |
The |
3cc3481
to
73dcd45
Compare
bba5a7c
to
9455cee
Compare
9455cee
to
b30fd27
Compare
b30fd27
to
d71fd9e
Compare
d71fd9e
to
f3fdc00
Compare
f3fdc00
to
c2093f3
Compare
Looks like the rebase from master solved the tests being super slow and timing out. Merging this. And thank you, @bonnefoa ! 🙇 |
What does this PR do?
Report the global txid extracted from
pg_snapshot_xmax(pg_current_snapshot())
.Motivation
This will provide a way to see the rate of txid consumption.
The current
postgresql.commits
only provides visibility on commitswhich include both virtual and non-virtual transactions.
postgres.snapshot.xmax
only reports transactions that wereassigned txid when they doing changes in the database.
Additional Notes
Review checklist (to be filled by reviewers)
changelog/
andintegration/
labels attachedqa/skip-qa
label.