Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
# ⏱ metrics-process

This crate provides a [Prometheus]-style [process metrics] collector for the
[metrics] crate, supporting Linux, macOS, and Windows. The collector code is
manually rewritten in Rust from the official Prometheus client for Go
[metrics] crate, supporting Linux, macOS, Windows, and FreeBSD. The collector
code is manually rewritten in Rust from the official Prometheus client for Go
Copy link

Choose a reason for hiding this comment

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

Is this also the case for your FreeBSD addition? If not, maybe "Some collector code..."?

([client_golang]).

[Prometheus]: https://prometheus.io/
Expand Down Expand Up @@ -41,17 +41,17 @@ Go ([client_golang]) provides.
> Prior to version 2.0.0, the `process_cpu_seconds_total` metric was Gauge instead of Counter.
> Enable `use-gauge-on-cpu-seconds-total` feature to use the previous behavior.

| Metric name | Linux | macOS | Windows |
| ---------------------------------- | ----- | ----- | ------- |
| `process_cpu_seconds_total` | x | x | x |
| `process_open_fds` | x | x | x |
| `process_max_fds` | x | x | x |
| `process_virtual_memory_bytes` | x | x | x |
| `process_virtual_memory_max_bytes` | x | x | |
| `process_resident_memory_bytes` | x | x | x |
| `process_heap_bytes` | | | |
| `process_start_time_seconds` | x | x | x |
| `process_threads` | x | x | |
| Metric name | Linux | macOS | Windows | FreeBSD |
| ---------------------------------- | ----- | ----- | ------- | ------- |
| `process_cpu_seconds_total` | x | x | x | x |
| `process_open_fds` | x | x | x | x |
| `process_max_fds` | x | x | x | x |
| `process_virtual_memory_bytes` | x | x | x | x |
| `process_virtual_memory_max_bytes` | x | x | | x |
| `process_resident_memory_bytes` | x | x | x | x |
| `process_heap_bytes` | | | | |
| `process_start_time_seconds` | x | x | x | x |
| `process_threads` | x | x | | x |

> [!NOTE]
>
Expand Down