Server monitor: known gaps and follow-ups

Open
#359 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@DokaDev is already working on this.

Since Nov 12, 2026.

Assessment

This issue has not been assessed yet.

Description

bug
Problem

The server monitor shipped with a few known gaps found in review and live testing. None of them changes data, but each is a rough edge users can hit. They are tracked here so none is left as a note.

Proposal

Sessions and actions

  • y on a statement the server cut copies it without saying only the start was read (o already says so)
  • A follow-up read after cancel or terminate that never gets an answer has no time limit, so later follow-ups for that action never run
  • At 80 columns the action list cuts the confirmation text (check)
  • MySQL: the full statement text match relies on age and prefix; match on the thread and event ids instead

Locks

  • MySQL: row lock waits show no wait time, while metadata lock waits do
  • Lock lines show the statement start without highlighting and without the "this monitor" tag
  • Read each granted lock's type once instead of once per waiting request

Replication

  • MySQL before 8.0.22: the lag is labelled Seconds_Behind_Source, the server calls it Seconds_Behind_Master
  • MySQL: channel error times are shown as the server gives them; show them as server local time in a readable form
  • Aurora: the cluster's own replicas are only mentioned, not listed

Overview and tests

  • PostgreSQL at 80 columns: the compact chart legend cuts series names beyond two lines (check)
  • The PostgreSQL 14 locks counters fixture was extended by hand; record it from a live server
  • The MySQL own-session snapshot shows the PostgreSQL server line from a shared test helper (check)
Dominant language
Rust
Stars
166
Forks
8
Avg merge
4h 24m
Merged PRs (30d)
291

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DokaDev/datarig

All issues in DokaDev/datarig

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.