Skip to content

feat(metrics): Time transaction start, commit lock wait, and commit - #1928

Draft
colinbarry wants to merge 1 commit into
release/3.15from
docs/transaction-lock-wait-metrics
Draft

colinbarry wants to merge 1 commit into
release/3.15from
docs/transaction-lock-wait-metrics

Conversation

@colinbarry

Copy link
Copy Markdown
Contributor

Description

Adds the per-database memgraph_transaction_begin_seconds, memgraph_commit_lock_wait_seconds, and memgraph_commit_seconds histograms to the transaction metrics on the monitoring page, with what each one measures and their SHOW METRICS INFO names.

Product PR

memgraph/memgraph#5405

Checklist

  • For a product change: milestone set to the release and feature or bugfix label added
  • For a product change: this PR is linked from the product PR's documentation checklist

Left out of the docs: the sample SHOW METRICS INFO output on pages/database-management/server-stats.mdx doesn't show the nine new _us_50p/90p/99p rows; 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.

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.

@colinbarry colinbarry added this to the 3.15 milestone Nov 19, 2026
@colinbarry colinbarry added the feature Documentation related to a new product feature of feature update label Nov 19, 2026
@colinbarry colinbarry self-assigned this Nov 19, 2026
@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
documentation Ready Ready Preview Nov 19, 2026 9:55am UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 5f4ff7db Deployed Nov 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Documentation related to a new product feature of feature update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant