-
Notifications
You must be signed in to change notification settings - Fork 100
Add documents and embbedings database metrics to stats response #679
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
Conversation
Co-authored-by: Frank Elsinga <[email protected]>
Co-authored-by: Frank Elsinga <[email protected]>
Co-authored-by: Frank Elsinga <[email protected]>
Add documents and embbedings database metrics to stats response
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Stay consistent with the rest of the codebase
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #679 +/- ##
==========================================
+ Coverage 93.65% 93.70% +0.05%
==========================================
Files 19 19
Lines 7597 7597
Branches 7597 7597
==========================================
+ Hits 7115 7119 +4
+ Misses 258 254 -4
Partials 224 224 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Pull Request
Rework on top of #652
Related issue
Fixes #650
Fixes #649
What does this PR do?
This pull request includes an update to the
IndexStats
struct in thesrc/indexes.rs
file to add several new fields for more detailed tracking of index statistics.Changes in
IndexStats
struct:raw_document_db_size
field to track the size of the raw document database.avg_document_size
field to track the average size of documents.number_of_embedded_documents
field to track the number of embedded documents.number_of_embeddings
field to track the number of embeddings.PR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!