Mongosync Insights version 0.8.0.18#178
Merged
jsmurphy merged 59 commits intomongodb:masterfrom Mar 13, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates Mongosync Insights to version 0.8.0.18, adding significant new features for parsing mongosync metrics files, displaying results in tabbed UI, detecting common errors in logs, and reorganizing toolbox scripts into subfolders.
Changes:
- Adds Prometheus metrics log parsing (
mongosync_metrics.log) with a newMetricsCollectorclass and configurable metrics definitions viamongosync_metrics.json, plus many new log-based metrics (ping latency, CRUD rate, partitions, indexes, oplog time remaining, etc.) - Introduces a tabbed UI for upload results (Logs, Metrics, Options, Collections/Partitions, Errors/Warnings) with filter, copy-as-markdown, and expandable error details
- Reorganizes toolbox scripts into subfolders with individual READMEs, adds new
collectionDatabaseSizesscript, and introducesMI_VERIFIER_CONNECTION_STRINGenv var and session merging
Reviewed changes
Copilot reviewed 22 out of 32 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
mongosync_plot_prometheus_metrics.py |
New module for parsing Prometheus exposition format from metrics log files and generating Plotly plots |
mongosync_metrics.json |
Configuration for 50+ metrics across Collection Copy, CEA, Indexes, Verifier, etc. |
mongosync_plot_logs.py |
Extended log parsing with new metrics, file classification, metrics routing, error pattern matching, and partition init aggregation |
upload_results.html |
Tabbed UI with options tables, collections, partition init, errors, and markdown copy |
verifier_metrics.html |
Refactored to tabbed layout with improved error handling |
home.html |
Removed preview images, adjusted layout |
file_decompressor.py |
Added classified decompression yielding (line, file_type) tuples, nested archive support |
app_config.py |
Version bump, file classification, VERIFIER_CONNECTION_STRING, error patterns loading, TLS/certifi handling, session merge logic |
mongosync_insights.py |
Session merging helper, verifier connection string separation |
mongosync_plot_metadata.py |
Added natural order collections table, sharded resume info support, 4th row |
migration_verifier.py |
Removed unused functions |
error_patterns.json |
New config for 30+ common error patterns |
probIndexesComplete/ |
New subfolder with index stats script and README |
collectionDatabaseSizes/ |
New subfolder with collection size script and README |
mongosyncUniqueIndexChecker/ |
Extended JSON coercion for index key normalization, added license |
idChecker/README.md |
Removed file structure section, added license |
toolbox/README.md |
Condensed to link to individual READMEs |
VALIDATION.md, CONFIGURATION.md, README.md |
Updated docs for new features and config options |
templates/README.md |
Deleted (content moved elsewhere) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
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.
Mongosync Insights changes include:
Mongosync log parser:
Live Monitoring:
Migration toolbox scripts were reorganized in subfolders