From ff32dd2474bf970a5c0762020d040bd76e74e89c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 13 May 2026 15:25:41 +0200 Subject: [PATCH 1/2] preset: enable cgroup metrics logic This stuff is so useful, and should work out of the box I am sure. Given that the metrics are only generated on request this shouldn't create any additional burden by default. Yes, this might enlarge reports a bit, if generated with everything on, but we really should solve that at the report generation level, not at the point where we make the metrics available. Follow-up for: 4409e52494d803426a365b6636a66fd2dfc70b62 --- presets/90-systemd.preset | 1 + 1 file changed, 1 insertion(+) diff --git a/presets/90-systemd.preset b/presets/90-systemd.preset index 4a668fb8ce..1dd89f3df9 100644 --- a/presets/90-systemd.preset +++ b/presets/90-systemd.preset @@ -32,6 +32,7 @@ enable systemd-networkd-wait-online.service enable systemd-nsresourced.socket enable systemd-pstore.service enable systemd-report-basic.socket +enable systemd-report-cgroup.socket enable systemd-resolved.service enable systemd-sysext.service enable systemd-timesyncd.service From 78577ecd006c105205f443ca102314a8a9029522 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 13 May 2026 15:57:24 +0200 Subject: [PATCH 2/2] update TODO --- TODO.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/TODO.md b/TODO.md index fe13b0b24d..422145e25b 100644 --- a/TODO.md +++ b/TODO.md @@ -128,6 +128,14 @@ SPDX-License-Identifier: LGPL-2.1-or-later ## Features +- report: add filtering by metric prefix, so that we reports don't have to + include everything, and we have a way to have "small" and "big" reports, that + have different number of fields. + +- allow metrics to indicate which values mean + "nothing"/"invalid"/"zero"/"please-suppress". Then use that to reduce noise + in systemd-report output. + - sysupdate: offer reading transfer files/components/features optionally from some JSON fragment rather than transfer files, so that we can update it independently from any DDI, and it needs no activation cycle. Why? so that