|
8 | 8 | # ⏱ metrics-process |
9 | 9 |
|
10 | 10 | 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. |
14 | 15 |
|
15 | 16 | [Prometheus]: https://prometheus.io/ |
16 | 17 | [process metrics]: https://prometheus.io/docs/instrumenting/writing_clientlibs/#process-metrics |
@@ -41,17 +42,17 @@ Go ([client_golang]) provides. |
41 | 42 | > Prior to version 2.0.0, the `process_cpu_seconds_total` metric was Gauge instead of Counter. |
42 | 43 | > Enable `use-gauge-on-cpu-seconds-total` feature to use the previous behavior. |
43 | 44 |
|
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 | | |
55 | 56 |
|
56 | 57 | > [!NOTE] |
57 | 58 | > |
|
0 commit comments