Skip to content

Final metrics tweaks for Qdrant 1.16.0#7516

Merged
timvisee merged 5 commits intodevfrom
metrics-finalize-for-1.16.0
Nov 12, 2025
Merged

Final metrics tweaks for Qdrant 1.16.0#7516
timvisee merged 5 commits intodevfrom
metrics-finalize-for-1.16.0

Conversation

@timvisee
Copy link
Member

@timvisee timvisee commented Nov 11, 2025

Here I make and propose some final changes to our current metrics for the release of Qdrant 1.16.0.

Specifically this does:

  1. re-adds collections_vector_total metric (for backwards compatibility)
  2. namespaces new replica metrics with collection_ (to best follow my interpretation of recommendations):
    • active_replicas_{min,max} -> collection_active_replicas_{min,max}
    • dead_replicas -> collection_dead_replicas
  3. count collection_running_optimizations per collection, as I think that's much more interesting in practice

We keep the new qdrant_ prefix disabled for all metrics to not break existing deployments. Users have control over the prefix if they ever want to enable it for their deployment.

Please see this PR as a request for comment. If we're happy with this final result, we can merge.

Here is a dump of all metrics: https://gist.github.com/timvisee/6a3e7968bcfc63b3cc1471788ca9ccbc

All Submissions:

  • Contributions should target the dev branch. Did you create your branch from dev?
  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  1. Does your submission pass tests?
  2. Have you formatted your code locally using cargo +nightly fmt --all command prior to submission?
  3. Have you checked your code using cargo clippy --all --all-features command?

Only this metric was removed since Qdrant version 1.15.5, and so this
adds it back for backwards compatibility. Though it has been marked as
deprecated now.
@timvisee timvisee added the release:1.16.0 Pull requests that should be merged for the Qdrant 1.16.0 release. label Nov 11, 2025
coderabbitai[bot]

This comment was marked as resolved.

@qdrant qdrant deleted a comment from coderabbitai bot Nov 11, 2025
@qdrant qdrant deleted a comment from coderabbitai bot Nov 12, 2025
@qdrant qdrant deleted a comment from coderabbitai bot Nov 12, 2025
@timvisee timvisee merged commit 2bc9050 into dev Nov 12, 2025
20 of 21 checks passed
@timvisee timvisee deleted the metrics-finalize-for-1.16.0 branch November 12, 2025 11:07
timvisee added a commit that referenced this pull request Nov 14, 2025
* Add collections_vector_total metric for backwards compatibility

Only this metric was removed since Qdrant version 1.15.5, and so this
adds it back for backwards compatibility. Though it has been marked as
deprecated now.

* Prefix replica metrics with collection, part of collection namespace

* Count running optimizations per collection

* Remove deprecation flag

* Minor optimization, preallocate vectors
@timvisee timvisee mentioned this pull request Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:1.16.0 Pull requests that should be merged for the Qdrant 1.16.0 release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants