From d086eb6d2e3fce7e03cb65ec3593700db5367ffc Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 15 Jun 2026 22:43:23 +0200 Subject: [PATCH] report: don't consider it an error if a backend replies io.systemd.Metrics.NoSuchMetric If an error returns this it (currently) has no metric to report. Which is entirely fine, treat it as such. --- src/report/report.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/report/report.c b/src/report/report.c index a4d7a9ea56..9c951f9832 100644 --- a/src/report/report.c +++ b/src/report/report.c @@ -232,6 +232,8 @@ static int on_query_reply( log_warning("Varlink connection to '%s' disconnected prematurely, ignoring.", li->name); else if (streq(error_id, SD_VARLINK_ERROR_TIMEOUT)) log_warning("Varlink connection to '%s' timed out, ignoring.", li->name); + else if (streq(error_id, "io.systemd.Metrics.NoSuchMetric")) + log_debug("Varlink connection to '%s' reported no more metrics, ignoring.", li->name); else log_warning("Varlink error from '%s', ignoring: %s", li->name, error_id);