{"repo":"lambdalisue/rs-metrics-process","free":true,"listed":false,"github":"https://github.com/lambdalisue/rs-metrics-process","clone":"git clone https://github.com/lambdalisue/rs-metrics-process.git","description":"⏱ Cross-platform Prometheus style process metrics collector of metrics crate","language":"Rust","stars":43,"topics":["cross-platform","metrics","process-metrics","prometheus","prometheus-metrics"],"license":"MIT","category":"analytics","readme_excerpt":"⏱ metrics-process This crate provides a [Prometheus]-style [process metrics] collector for the [metrics] crate, supporting Linux, macOS, Windows, and FreeBSD. The original collector code was manually rewritten in Rust from the official Prometheus client for Go ([client golang]), \\ BSD support code was written from scratch. [Prometheus]: https://prometheus.io/ [process metrics]: https://prometheus.io/docs/instrumenting/writing clientlibs/#process-metrics [metrics]: https://crates.io/crates/metrics Supported Metrics This crate supports the following metrics provided by [Prometheus] for [process metrics]. Metric name Help string ---------------------------------- ---------------------------------------------------------- process cpu seconds total Total user and system CPU time spent in seconds. process open fds Number of open file descriptors. process max fds Maximum number of open file descriptors. process virtual memory bytes Virtual memory size in bytes. process virtual memory max bytes Maximum amount of virtual memory available in bytes. process resident memory bytes Resident memory size in bytes. process heap bytes Process heap size in bytes. Not supported process start time seconds Start time of the process since the Unix epoch in seconds. process threads Number of OS threads in the process. For each platform, it is equivalent to what the official Prometheus client for Go ([client golang]) provides. Note that code for OpenBSD exists but is not tested and we cannot guarante","default_branch":null,"files":null,"tree":[],"storefront":"/r/lambdalisue","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lambdalisue/rs-metrics-process/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}