Skip to content

[ISSUE #79] Add a live monitor for segment and Snowflake ID generators - #80

Merged
mxsm merged 1 commit into
developfrom
mxsm/issue-79-generator-monitor
Nov 29, 2026
Merged

mxsm merged 1 commit into
developfrom
mxsm/issue-79-generator-monitor

Conversation

@mxsm

@mxsm mxsm commented Nov 29, 2026

Copy link
Copy Markdown
Owner

Closes #79

Changes

  • Serve a responsive Chinese-language monitor at /monitor/index.html. It compares the current process’s segment and Snowflake rates and totals, with a separate diagnostics view at #generators.
  • Add GET /api/v1/monitor. Reading existing counters and cache stats takes no database allocations and consumes no IDs. The snapshot uses the existing token policy and no-store response headers.
  • Keep the throughput history in the tab and reset the baseline on disconnect or process change. Operators can pause, refresh manually and switch between dark and light themes.

Verification

  • Ran the Maven wrapper with JDK 25 and Docker, including the MySQL 8.4 and PostgreSQL 18 integration suites.
  • Exercised both generators against an isolated PostgreSQL-backed server and checked the curves and counters using real requests.
  • Checked desktop and mobile layouts, authentication, theme persistence, detail deep links, browser history and manual samples taken 30 seconds apart in Chromium.

@mxsm
mxsm merged commit a9284e4 into develop Nov 29, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a built-in monitor for segment and Snowflake ID generators

1 participant