Skip to content

Init snapshot metrics on collection creation#7788

Merged
timvisee merged 1 commit intodevfrom
always-show-snapshot-metrics
Dec 17, 2025
Merged

Init snapshot metrics on collection creation#7788
timvisee merged 1 commit intodevfrom
always-show-snapshot-metrics

Conversation

@tellet-q
Copy link
Contributor

Snapshot metrics will now appear for all collections immediately. Previously, snapshot metrics (snapshots_created_total, snapshots_creation_running, snapshots_recovery_running) only appeared in /metrics after a snapshot operation was performed on a collection. This was due to lazy initialization of telemetry entries in the DashMap.

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?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

coderabbitai[bot]

This comment was marked as resolved.

@qdrant qdrant deleted a comment from coderabbitai bot Dec 16, 2025
@JojiiOfficial JojiiOfficial self-requested a review December 17, 2025 11:18
@timvisee timvisee merged commit 0ad86c7 into dev Dec 17, 2025
15 checks passed
@timvisee timvisee deleted the always-show-snapshot-metrics branch December 17, 2025 12:47
@timvisee timvisee mentioned this pull request Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants