From 1a190d36933e49b95438657f7241d2a56ae79012 Mon Sep 17 00:00:00 2001 From: machine424 Date: Thu, 1 May 2025 17:11:16 +0200 Subject: [PATCH] chore(cmd): Add info log for automemlimit config Signed-off-by: machine424 --- cmd/prometheus/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go index 4c3ede362e..0e547deaf9 100644 --- a/cmd/prometheus/main.go +++ b/cmd/prometheus/main.go @@ -671,6 +671,7 @@ func main() { memlimit.FromSystem, ), ), + memlimit.WithLogger(logger.With("component", "automemlimit")), ); err != nil { logger.Warn("automemlimit", "msg", "Failed to set GOMEMLIMIT automatically", "err", err) }