mongo-x-ray-gmd
getMongoData analysis plugin for x-ray.
Install
pip install mongo-x-ray mongo-x-ray-hc mongo-x-ray-gmd
Usage
x-ray gmd /path/to/getMongoData-output.json
x-ray gmd /path/to/getMongoData-output.json -f html -o /path/to/output/
Compatibility
Supports MongoDB 5.0 and above on all topologies:
| Replica Set | Sharded Cluster | Standalone |
|---|---|---|
| ✅ | ✅ | ✅ |
Parameters
x-ray gmd [-h] [-s CHECKSET] [-o OUTPUT] [-f {markdown,html,pdf}] [--no-browser]
gmd_file
| Argument | Description | Default |
|---|---|---|
gmd_file |
Path to the getMongoData output JSON file. | required |
-s, --checkset |
Checkset to run. | default |
-o, --output |
Output folder path. | output/ |
-f, --format |
Output format: markdown, html or pdf (PDF also keeps Markdown and HTML). |
html |
--no-browser |
Do not open the generated report in the browser. | false |
Analysis Items
| Item | Purpose |
|---|---|
SummaryItem |
Overall summary of the getMongoData output. |
BuildInfoItem |
Build information (reuses the healthcheck build info parser and version EOL rule). |
CollInfoItem |
Collection statistics: sizes and fragmentation. |
DBItem |
Database-level information. |
HostInfoItem |
Host filesystem type, NUMA settings and host properties. |
IndexInfoItem |
Index information. |
RSInfoItem |
Replica set topology, oplog window and status. |
SecurityItem |
Security posture. |
ServerStatusItem |
Cache, connections and query targeting status. |
SHInfoItem |
Sharding architecture and shard details. |
Development
Requires Python 3.10+, MongoDB 5.0 or later, the mongo-x-ray core and the mongo-x-ray-hc plugin (gmd reuses its parsers and rules).
make unit-test # run the unit tests
make lint # ruff check + ruff format --check
make minify # minify templates
Metadata
Release files for mongo-x-ray-gmd 2.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mongo_x_ray_gmd-2.1.2.tar.gz | 28.1 kB | With provenance | Details for mongo_x_ray_gmd-2.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mongo_x_ray_gmd-2.1.2-py3-none-any.whl | Python 3 | none | any | Details for mongo_x_ray_gmd-2.1.2-py3-none-any.whl |
Total release size: 69.4 kB
Release files / mongo_x_ray_gmd-2.1.2.tar.gz
| Download URL | mongo_x_ray_gmd-2.1.2.tar.gz |
|---|---|
| Size | 28.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
804bb2928d3d1c1ae12f0a3712fbd03225ec45337470b6bef59da146c9c6c753
|
|
BLAKE2b-256 checksum How to use checksums |
a1a7f75cea7e627d986cc2c1477617e7a7d4b90284531296a63f62094150d286
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logRelease files / mongo_x_ray_gmd-2.1.2-py3-none-any.whl
| Download URL | mongo_x_ray_gmd-2.1.2-py3-none-any.whl |
|---|---|
| Size | 41.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1a8db0cb4d70e0fe70356135b8b6e75b9a94cbe2ea1aa39b22b874e70e2ca06
|
|
BLAKE2b-256 checksum How to use checksums |
7d68b361b32d90c49463b1d212ed38dc0a63dca3b2919e8425380fff840357d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logSecurity for mongo-x-ray-gmd 2.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for mongo_x_ray_gmd-2.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.