Skip to content

Commit da32542

Browse files
committed
Document OpenBSD support
1 parent 3512bc3 commit da32542

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

README.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
# ⏱ metrics-process
99

1010
This crate provides a [Prometheus]-style [process metrics] collector for the
11-
[metrics] crate, supporting Linux, macOS, Windows, and FreeBSD. The original
12-
collector code was manually rewritten in Rust from the official Prometheus
13-
client for Go ([client_golang]), FreeBSD support was written from scratch.
11+
[metrics] crate, supporting Linux, macOS, Windows, FreeBSD, and OpenBSD. The
12+
original collector code was manually rewritten in Rust from the official
13+
Prometheus client for Go ([client_golang]), \*BSD support code was written
14+
from scratch.
1415

1516
[Prometheus]: https://prometheus.io/
1617
[process metrics]: https://prometheus.io/docs/instrumenting/writing_clientlibs/#process-metrics
@@ -41,17 +42,17 @@ Go ([client_golang]) provides.
4142
> Prior to version 2.0.0, the `process_cpu_seconds_total` metric was Gauge instead of Counter.
4243
> Enable `use-gauge-on-cpu-seconds-total` feature to use the previous behavior.
4344
44-
| Metric name | Linux | macOS | Windows | FreeBSD |
45-
| ---------------------------------- | ----- | ----- | ------- | ------- |
46-
| `process_cpu_seconds_total` | x | x | x | x |
47-
| `process_open_fds` | x | x | x | x |
48-
| `process_max_fds` | x | x | x | x |
49-
| `process_virtual_memory_bytes` | x | x | x | x |
50-
| `process_virtual_memory_max_bytes` | x | x | | x |
51-
| `process_resident_memory_bytes` | x | x | x | x |
52-
| `process_heap_bytes` | | | | |
53-
| `process_start_time_seconds` | x | x | x | x |
54-
| `process_threads` | x | x | | x |
45+
| Metric name | Linux | macOS | Windows | FreeBSD | OpenBSD |
46+
| ---------------------------------- | ----- | ----- | ------- | ------- | ------- |
47+
| `process_cpu_seconds_total` | x | x | x | x | x |
48+
| `process_open_fds` | x | x | x | x | |
49+
| `process_max_fds` | x | x | x | x | x |
50+
| `process_virtual_memory_bytes` | x | x | x | x | |
51+
| `process_virtual_memory_max_bytes` | x | x | | x | |
52+
| `process_resident_memory_bytes` | x | x | x | x | x |
53+
| `process_heap_bytes` | | | | | |
54+
| `process_start_time_seconds` | x | x | x | x | x |
55+
| `process_threads` | x | x | | x | |
5556

5657
> [!NOTE]
5758
>

0 commit comments

Comments
 (0)