|
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, and Windows. The collector code is |
12 | | -manually rewritten in Rust from the official Prometheus client for Go |
| 11 | +[metrics] crate, supporting Linux, macOS, Windows, and FreeBSD. The collector |
| 12 | +code is manually rewritten in Rust from the official Prometheus client for Go |
13 | 13 | ([client_golang]). |
14 | 14 |
|
15 | 15 | [Prometheus]: https://prometheus.io/ |
@@ -41,17 +41,17 @@ Go ([client_golang]) provides. |
41 | 41 | > Prior to version 2.0.0, the `process_cpu_seconds_total` metric was Gauge instead of Counter. |
42 | 42 | > Enable `use-gauge-on-cpu-seconds-total` feature to use the previous behavior. |
43 | 43 |
|
44 | | -| Metric name | Linux | macOS | Windows | |
45 | | -| ---------------------------------- | ----- | ----- | ------- | |
46 | | -| `process_cpu_seconds_total` | x | x | x | |
47 | | -| `process_open_fds` | x | x | x | |
48 | | -| `process_max_fds` | x | x | x | |
49 | | -| `process_virtual_memory_bytes` | x | x | x | |
50 | | -| `process_virtual_memory_max_bytes` | x | x | | |
51 | | -| `process_resident_memory_bytes` | x | x | x | |
52 | | -| `process_heap_bytes` | | | | |
53 | | -| `process_start_time_seconds` | x | x | x | |
54 | | -| `process_threads` | x | x | | |
| 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` | | | | x | |
| 53 | +| `process_start_time_seconds` | x | x | x | x | |
| 54 | +| `process_threads` | x | x | | x | |
55 | 55 |
|
56 | 56 | > [!NOTE] |
57 | 57 | > |
|
0 commit comments