Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sc-29393] MongoDB crawler ignore system collections #1010

Conversation

usefulalgorithm
Copy link
Contributor

🤔 Why?

We are not supposed to crawl the system collections in MongoDB.

🤓 What?

  • Exclude the system collections by default.

🧪 Tested?

N/A.

☑️ Checks

  • My PR contains actual code changes, and I have updated the version number in pyproject.toml.

Copy link

github-actions bot commented Oct 17, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
13024 11626 89% 85% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
metaphor/mongodb/extractor.py 92% 🟢
TOTAL 92% 🟢

updated for commit: b0b3e69 by action🐍

Copy link

codecov bot commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.26%. Comparing base (a34d8e5) to head (b0b3e69).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1010   +/-   ##
=======================================
  Coverage   89.25%   89.26%           
=======================================
  Files         200      200           
  Lines       13012    13024   +12     
=======================================
+ Hits        11614    11626   +12     
  Misses       1398     1398           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@usefulalgorithm usefulalgorithm merged commit 64b95e3 into main Oct 17, 2024
6 checks passed
@usefulalgorithm usefulalgorithm deleted the tsung-julii/sc-29393/mongodb-crawler-should-ignore-system-collections branch October 17, 2024 07:16
@@ -15,7 +15,7 @@ infer_schema_sample_size: <int> # Number of documents to sample in a collection
excluded_databases: # Databases to ignore. By default the databases "admin", "config", "local", "system" are excluded.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@usefulalgorithm Should alwsys exculde these as well.

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.

3 participants