Skip to content

Procfs metrics#7451

Merged
JojiiOfficial merged 4 commits intodevfrom
metrics-procfs-stats
Oct 29, 2025
Merged

Procfs metrics#7451
JojiiOfficial merged 4 commits intodevfrom
metrics-procfs-stats

Conversation

@JojiiOfficial
Copy link
Contributor

@JojiiOfficial JojiiOfficial commented Oct 24, 2025

Depends on #7441

Implements new metrics for procfs data, such as memmap count or currently opened file descriptors.
All metrics are provided by the procfs crate.
Since /procfs is not available on non-linux systems, these metrics will only be available if Qdrant is running on linux.

Full list of newly added metrics:

# HELP procfs_mmap_count count of open mmaps
# TYPE procfs_mmap_count gauge
procfs_mmap_count 273

# HELP procfs_current_fds count of currently open file descriptors
# TYPE procfs_current_fds gauge
procfs_current_fds 69

# HELP procfs_soft_limit_fds soft limit for open file descriptors
# TYPE procfs_soft_limit_fds gauge
procfs_soft_limit_fds 1024

# HELP procfs_hard_limit_fds hard limit for open file descriptors
# TYPE procfs_hard_limit_fds gauge
procfs_hard_limit_fds 524288

# HELP procfs_minor_page_faults count of minor pagefaults which didn't cause a disk access
# TYPE procfs_minor_page_faults gauge
procfs_minor_page_faults 56686

# HELP procfs_major_page_faults count of disk accesses caused by a mmap pagefault
# TYPE procfs_major_page_faults gauge
procfs_major_page_faults 19

# TYPE procfs_children_minor_page_faults gauge
# HELP count of minor page faults caused by waited-for children
procfs_children_minor_page_faults 221060

# TYPE procfs_children_major_page_faults gauge
# HELP count of major page faults caused by waited-for children
procfs_children_major_page_faults 5331

@JojiiOfficial JojiiOfficial force-pushed the metrics-vectors-by-name-per-collection branch from 0c32919 to 2a8c242 Compare October 29, 2025 14:25
@JojiiOfficial JojiiOfficial force-pushed the metrics-vectors-by-name-per-collection branch from 2a8c242 to 91e7ac3 Compare October 29, 2025 15:49
Base automatically changed from metrics-vectors-by-name-per-collection to dev October 29, 2025 16:00
@qdrant qdrant deleted a comment from coderabbitai bot Oct 29, 2025
@JojiiOfficial JojiiOfficial merged commit 9a69e02 into dev Oct 29, 2025
15 checks passed
@JojiiOfficial JojiiOfficial deleted the metrics-procfs-stats branch October 29, 2025 16:27
timvisee added a commit that referenced this pull request Nov 14, 2025
* Procfs metrics

* Clippy

* Fix compiling on non linux targets

* Move procfs up

---------

Co-authored-by: timvisee <tim@visee.me>
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants