mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-06 14:17:12 +02:00
chore(cmd): Add info log for automemlimit config
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
This commit is contained in:
parent
b6aaea22fb
commit
1a190d3693
@ -671,6 +671,7 @@ func main() {
|
|||||||
memlimit.FromSystem,
|
memlimit.FromSystem,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
memlimit.WithLogger(logger.With("component", "automemlimit")),
|
||||||
); err != nil {
|
); err != nil {
|
||||||
logger.Warn("automemlimit", "msg", "Failed to set GOMEMLIMIT automatically", "err", err)
|
logger.Warn("automemlimit", "msg", "Failed to set GOMEMLIMIT automatically", "err", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user