Skip to content

Commit 80f6a39

Browse files
committed
Bump minor version.
1 parent 4667337 commit 80f6a39

3 files changed

Lines changed: 12 additions & 14 deletions

File tree

lib/process/metrics/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
module Process
88
# @namespace
99
module Metrics
10-
VERSION = "0.9.0"
10+
VERSION = "0.10.0"
1111
end
1212
end

readme.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,22 @@ Please see the [project documentation](https://socketry.github.io/process-metric
1616

1717
Please see the [project releases](https://socketry.github.io/process-metrics/releases/index) for all releases.
1818

19+
### v0.10.0
20+
21+
- **Host::Memory**: New per-host struct `Process::Metrics::Host::Memory` with `total`, `used`, `free`, `swap_total`, `swap_used` (all bytes). Use `Host::Memory.capture` to get a snapshot; `.supported?` indicates platform support.
22+
1923
### v0.9.0
2024

2125
- `Process::Metrics::Memory.total_size` takes into account cgroup limits.
2226
- On Linux, capturing faults is optional, controlled by `capture(faults: true/false)`.
2327
- Report all sizes in bytes for consistency.
2428

29+
### v0.8.0
30+
31+
- Kill `ps` before waiting to avoid hanging when using the process-status backend.
32+
- Ignore `Errno::EACCES` when reading process information.
33+
- Cleaner process management for the `ps`-based capture path.
34+
2535
### v0.7.0
2636

2737
- Be more proactive about returning nil if memory capture failed.
@@ -61,18 +71,6 @@ Please see the [project releases](https://socketry.github.io/process-metrics/rel
6171
- Added missing dependencies: `bake-test-external` and `json` gem.
6272
- Added summary lines for PSS (Proportional Set Size) and USS (Unique Set Size).
6373

64-
### v0.2.1
65-
66-
- Added missing dependency to gemspec.
67-
- Added example of command line usage to documentation.
68-
- Renamed `rsz` to `rss` (Resident Set Size) for consistency across Darwin and Linux platforms.
69-
70-
### v0.2.0
71-
72-
- Added `process-metrics` command line interface for monitoring processes.
73-
- Implemented structured data using Ruby structs for better performance and clarity.
74-
- Added documentation about PSS (Proportional Set Size) and USS (Unique Set Size) metrics.
75-
7674
## Contributing
7775

7876
We welcome contributions to this project.

releases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Releases
22

3-
## Unreleased
3+
## v0.10.0
44

55
- **Host::Memory**: New per-host struct `Process::Metrics::Host::Memory` with `total`, `used`, `free`, `swap_total`, `swap_used` (all bytes). Use `Host::Memory.capture` to get a snapshot; `.supported?` indicates platform support.
66

0 commit comments

Comments
 (0)