Repository navigation
feat(metrics): Time transaction start, commit lock wait, and commit - #1928
Draft
colinbarry wants to merge 1 commit into
Draft
colinbarry wants to merge 1 commit into
colinbarry wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Draft
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the per-database
memgraph_transaction_begin_seconds,memgraph_commit_lock_wait_seconds, andmemgraph_commit_secondshistograms to the transaction metrics on the monitoring page, with what each one measures and theirSHOW METRICS INFOnames.Product PR
memgraph/memgraph#5405
Checklist
featureorbugfixlabel addedLeft out of the docs: the sample
SHOW METRICS INFOoutput onpages/database-management/server-stats.mdxdoesn't show the nine new_us_50p/90p/99prows; its output has to come from a run, and no build with the change is available yet.No examples to run: the change adds table rows and prose only.
Release note corrections
Read by the release check when the release notes are written. Fix an item if it's wrong; keep the heading and one line per product PR. Delete the section if it's empty.
SHOW METRICS INFOalso reports the three histograms, asTransactionBeginLatency,CommitLockWaitLatency, andCommitLatency(_us_50p,_us_90p,_us_99p).Noticed, not fixed
Read by the release check, which fixes these in one PR per release. Fix an item if it's wrong; keep the heading and one line per item, starting with the page. Delete the section if it's empty.
pages/database-management/monitoring.mdx: the frontmatter description starts "Explore the documentation page for Memgraph..." and doesn't say what the reader can do.pages/database-management/monitoring.mdx: "Memgraph currently supports:" near the top uses "currently".pages/database-management/monitoring.mdx: in the WebSocket Python example,log_message = await websocket.recv()is mis-indented, so the example doesn't run.pages/database-management/monitoring.mdx: "Metrics tracking via HTTP server (Enterprise Edition)" uses "(Enterprise Edition)" in the heading instead of the Enterprise badge.pages/database-management/monitoring.mdx: the "New metrics" heading in the migration section will go stale.pages/database-management/monitoring.mdx: "will need to be updated" in the migration section is future tense and passive.