Skip to content

Commit 997daf7

Browse files
author
Memfault Inc.
committed
memfaultd 1.21.0 (Build 3088884)
1 parent 87948a6 commit 997daf7

File tree

67 files changed

+2250
-307
lines changed

Some content is hidden

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

67 files changed

+2250
-307
lines changed

CHANGELOG.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,46 @@ 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.21.0] - 2025-05-08
10+
11+
This release adds several new metrics for tracking flash wear, as well as a new
12+
syslog log source. It also includes a config flag to enable legacy statsd metric
13+
names, and a data retention check to the upload process. For more information on
14+
the new metrics, check out the
15+
[docs](https://docs.memfault.com/docs/linux/introduction).
16+
17+
### Added
18+
19+
- Added metrics for tracking flash wear for mmc block devices like eMMC and SD
20+
cards
21+
- `diskstats/<disk_name>/bytes_written`
22+
- `diskstats/<disk_name>/lifetime_pct`
23+
- `diskstats/<disk_name>/manufacturer_id`
24+
- `diskstats/<disk_name>/name`
25+
- Added syslog as a logs source. This adds support for messages in both RFC5424
26+
and RFC3164 format sent over UDP. This is enabled with the `syslog` feature
27+
which defaults to enabled.
28+
- Added a config flag to enable legacy statsd metric names. This will generate
29+
metrics that follow the format generated by the `collectd` statsd server. This
30+
is a helpful option for people looking to remove `collectd` as a dependency,
31+
but keep the legacy format for metric keys. The config value can be found in
32+
`metrics`->`statsd_server`->`legacy_key_names`.
33+
- Added time-based data filtering: When upgrading multiple devices' visibility
34+
levels, the Memfault backend now tells `memfaultd` to only upload data from
35+
the time of the change forward. This prevents unexpected large data uploads
36+
from device history.
37+
- Added `interface/<interface>/total_bytes/{tx,rx}` metrics. These allow us to
38+
track the total bytes sent over an interface over the course of an hour.
39+
40+
### Changed
41+
42+
- Added intelligent traffic distribution: Device initial connections now include
43+
a random delay (up to 25% of the configured upload interval). This prevents
44+
traffic spikes when many devices connect simultaneously, ensuring smoother
45+
backend performance.
46+
- `ram` and `loop` disks are no longer tracked with diskstats in auto mode.
47+
These are virtual disks, and provide little value when tracking metrics.
48+
949
## [1.20.0] - 2025-04-10
1050

1151
This release adds support for log filtering as well as a few bug fixes. Check
@@ -95,7 +135,7 @@ some important bugfixes.
95135
merging logic would fail. This would result in a case where a subset of
96136
configs were not possible. Fixed this logic to allow these valid use cases.
97137

98-
## [1.17.0] - 2024-01-16
138+
## [1.17.0] - 2025-01-16
99139

100140
This release introduces the new `memfaultctl write-metrics` command as well as
101141
some important bugfixes.
@@ -1318,3 +1358,5 @@ package][nginx-pid-report] for a discussion on the topic.
13181358
https://github.com/memfault/memfault-linux-sdk/releases/tag/1.19.0-kirkstone
13191359
[1.20.0]:
13201360
https://github.com/memfault/memfault-linux-sdk/releases/tag/1.20.0-kirkstone
1361+
[1.21.0]:
1362+
https://github.com/memfault/memfault-linux-sdk/releases/tag/1.21.0-kirkstone

Cargo.lock

Lines changed: 148 additions & 10 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: 3018284
2-
GIT COMMIT: 1f741b9871
3-
VERSION: 1.20.0
1+
BUILD ID: 3088884
2+
GIT COMMIT: 1b9b610366
3+
VERSION: 1.21.0

memfault-ssf/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "memfault-ssf"
3-
version = "1.20.0"
3+
version = "1.21.0"
44
edition = "2021"
55
description = "Supporting crate for the Memfault memfaultd embedded Linux agent"
66
homepage = "https://github.com/memfault/memfaultd"
@@ -12,6 +12,6 @@ repository = "https://github.com/memfault/memfaultd"
1212
[dependencies]
1313
futures = "0.3.31"
1414
log = "0.4"
15-
tokio = { version = "1.43.0", features = ["sync", "macros"] }
15+
tokio = { version = "1.43.0", features = ["sync", "macros", "rt", "net"] }
1616

1717
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

memfault-ssf/VERSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
BUILD ID: 3018284
2-
GIT COMMIT: 1f741b9871
3-
VERSION: 1.20.0
1+
BUILD ID: 3088884
2+
GIT COMMIT: 1b9b610366
3+
VERSION: 1.21.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.20.0"
3+
version = "1.21.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: 3018284
2-
GIT COMMIT: 1f741b9871
3-
VERSION: 1.20.0
1+
BUILD ID: 3088884
2+
GIT COMMIT: 1b9b610366
3+
VERSION: 1.21.0

0 commit comments

Comments
 (0)