Skip to content

Commit c8803d9

Browse files
author
Memfault Inc.
committed
memfaultd 1.22.0 (Build 3154720)
1 parent 1a4450d commit c8803d9

File tree

42 files changed

+634
-348
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+634
-348
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build]
2+
rustflags = ["-C", "link-arg=-Wl,--compress-debug-sections=zlib", "-C", "force-unwind-tables=yes"]

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,40 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to
77
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## [1.22.0] - 2025-06-12
10+
11+
This release adds an additional metric for tracking the health of eMMCs as well
12+
as a change to how built-in and collectd-based metrics interact to improve the
13+
user experience for teams using a combination of the two.
14+
15+
### Added
16+
17+
- The Lifetime Estimation B value for monitored eMMCs is now reported as
18+
`diskstats/<disk>/lifetime_b_pct`
19+
- A warning is now emitted when there is an issue parsing the output from
20+
`memfault-device-info` in `memfault-core-handler`. Previously, this would
21+
cause coredump collection to fail silently.
22+
- Built-in CPU, memory, and thermal metrics can now be disabled individually
23+
with the new `metrics.system_metric_collection.{cpu,memory,thermal}.enable`
24+
boolean config.
25+
- `memfaultd`'s `.cargo/config.toml` now sets `--compress-debug-sections` to
26+
`zlib` and `--force-unwind-tables` to `yes` by default. These settings enable
27+
building efficient debug sections and binaries whose coredumps can be fully
28+
processed. We strongly recommend using them with any Rust programs you intend
29+
to monitor with Memfault.
30+
31+
### Changed
32+
33+
- collectd-based metrics that overlap with built-in metrics will now be
34+
selectively filtered out if both are enabled based on whether the overlapping
35+
built-in metric group itself is enabled. This allows for using a mix of
36+
collectd-based metrics and built-in metrics more easily.
37+
38+
### Fixed
39+
40+
- A bug in which the values for the `MemfaultSdkMetric_os_name` and
41+
`MemfaultSdkMetric_os_version` built-in Attributes were reversed.
42+
943
## [1.21.1] - 2025-05-21
1044

1145
This is a patch release that fixes an overflow issue with the recently added
@@ -1374,3 +1408,5 @@ package][nginx-pid-report] for a discussion on the topic.
13741408
https://github.com/memfault/memfault-linux-sdk/releases/tag/1.21.0-kirkstone
13751409
[1.21.1]:
13761410
https://github.com/memfault/memfault-linux-sdk/releases/tag/1.21.1-kirkstone
1411+
[1.22.0]:
1412+
https://github.com/memfault/memfault-linux-sdk/releases/tag/1.22.0-kirkstone

Cargo.lock

Lines changed: 3 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

VERSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
BUILD ID: 3112275
2-
GIT COMMIT: eaa113a284
3-
VERSION: 1.21.1
1+
BUILD ID: 3154720
2+
GIT COMMIT: 447ac4b5be
3+
VERSION: 1.22.0

memfault-ssf/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "memfault-ssf"
3-
version = "1.21.1"
3+
version = "1.22.0"
44
edition = "2021"
55
description = "Supporting crate for the Memfault memfaultd embedded Linux agent"
66
homepage = "https://github.com/memfault/memfaultd"

memfault-ssf/VERSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
BUILD ID: 3112275
2-
GIT COMMIT: eaa113a284
3-
VERSION: 1.21.1
1+
BUILD ID: 3154720
2+
GIT COMMIT: 447ac4b5be
3+
VERSION: 1.22.0

memfaultc-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "memfaultc-sys"
3-
version = "1.21.1"
3+
version = "1.22.0"
44
edition = "2021"
55
autobins = false
66
description = "Supporting crate for the Memfault memfaultd embedded Linux agent"

memfaultc-sys/VERSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
BUILD ID: 3112275
2-
GIT COMMIT: eaa113a284
3-
VERSION: 1.21.1
1+
BUILD ID: 3154720
2+
GIT COMMIT: 447ac4b5be
3+
VERSION: 1.22.0

memfaultd/Cargo.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "memfaultd"
3-
version = "1.21.1"
3+
version = "1.22.0"
44
edition = "2021"
55
autobins = false
66
rust-version = "1.72"
@@ -28,8 +28,8 @@ name= "mfw"
2828
path= "src/bin/mfw.rs"
2929

3030
[dependencies]
31-
memfaultc-sys = { path= "../memfaultc-sys", version = "1.21.1" }
32-
ssf = { package = "memfault-ssf", path= "../memfault-ssf", version = "1.21.1" }
31+
memfaultc-sys = { path= "../memfaultc-sys", version = "1.22.0" }
32+
ssf = { package = "memfault-ssf", path= "../memfault-ssf", version = "1.22.0" }
3333
argh = "0.1.10"
3434
cfg-if = "1.0.0"
3535
chrono = { version = "0.4.23", features = ["serde"]}
@@ -78,8 +78,6 @@ lazy_static = "1.5.0"
7878
tokio = { version = "1.43.0", features = ["net"] }
7979
futures = "0.3.31"
8080
syslog_loose = { version = "0.21.0", optional = true }
81-
chrono-tz = { version = "0.10.3", optional = true }
82-
iana-time-zone = { version = "0.1.63", optional = true }
8381
rand = "0.8.5"
8482

8583
[target.'cfg(target_os = "linux")'.dependencies]
@@ -127,6 +125,6 @@ systemd = ["memfaultc-sys/systemd"]
127125
rust-tls = ["reqwest/rustls-tls"]
128126
openssl-tls = ["reqwest/native-tls"]
129127
openssl-vendored-tls = ["reqwest/native-tls-vendored"]
130-
syslog = ["dep:syslog_loose", "dep:chrono-tz", "dep:iana-time-zone"]
128+
syslog = ["dep:syslog_loose"]
131129
experimental = ["mfw"]
132130
mfw = []

memfaultd/VERSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
BUILD ID: 3112275
2-
GIT COMMIT: eaa113a284
3-
VERSION: 1.21.1
1+
BUILD ID: 3154720
2+
GIT COMMIT: 447ac4b5be
3+
VERSION: 1.22.0

0 commit comments

Comments
 (0)