[DOCS-10892] Schema and collections metadata extraction Created: 12/Oct/17  Updated: 30/Oct/23  Resolved: 26/Oct/17

Status: Closed
Project: Documentation
Component/s: Compass
Affects Version/s: 3.4.0
Fix Version/s: Server_Docs_20231030

Type: Design Request Priority: Minor - P4
Reporter: Kalyana Bonthala Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 6 years, 17 weeks, 6 days ago
Epic Link: DOCSP-2580

 Description   

Hi,

We are exploring MongoDB schema catalog and metrics for our collections. Is there any API available as part of MongoDB compass to extract collection schema and metrics? Details that are being displayed in Compass UI tool.

Thanks,
Kalyana



 Comments   
Comment by Kalyana Bonthala [ 12/Oct/17 ]

Thanks Thomas. Will explore schema extraction module.

Comment by Thomas Rueckstiess [ 12/Oct/17 ]

Hi Kalyana,

The metrics processing and visualization does not offer an API and is not open source, but for the schema extraction, we have open sourced the module here: https://github.com/mongodb-js/mongodb-schema

It has a Javascript API and a command line functionality. Compass uses this module internally to extract the schema of a collection.

Hope that helps,
Thomas

Generated at Thu Feb 08 08:01:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.