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

Add documents database metrics to indexStats type #1889

Merged

Conversation

consoleLogIt
Copy link
Contributor

Pull Request

Related issue

Fixes #1875

What does this PR do?

adds the documents database metrics to indexStats type.

  • Modify the stats API to include indexes.INDEXNAME.rawDocumentDbSize
  • Modify the stats API to include indexes.INDEXNAME.avgDocumentSize

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Copy link

codecov bot commented Mar 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.84%. Comparing base (0a0217e) to head (ad9939c).
Report is 90 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1889   +/-   ##
=======================================
  Coverage   98.84%   98.84%           
=======================================
  Files          17       17           
  Lines        1565     1565           
  Branches      338      338           
=======================================
  Hits         1547     1547           
  Misses         18       18           

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Collaborator

@flevi29 flevi29 left a comment

Choose a reason for hiding this comment

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

bors merge

@flevi29
Copy link
Collaborator

flevi29 commented Mar 2, 2025

@consoleLogIt Thanks again!

Copy link
Contributor

meili-bors bot commented Mar 2, 2025

@meili-bors meili-bors bot merged commit 4ccda00 into meilisearch:main Mar 2, 2025
8 checks passed
@flevi29 flevi29 added the enhancement New feature or request label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v1.13.1] Add documents database metrics to stats
2 participants