Skip to content

Commit 4496c94

Browse files
authored
Merge pull request #3341 from iwankgb/housekeeping_verbosity_level
Avoid repeated message when not scrapping root container metrics
2 parents b9342aa + a7cde7a commit 4496c94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manager/container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ func (cd *containerData) nextHousekeepingInterval() time.Duration {
482482
stats, err := cd.memoryCache.RecentStats(cd.info.Name, empty, empty, 2)
483483
if err != nil {
484484
if cd.allowErrorLogging() {
485-
klog.Warningf("Failed to get RecentStats(%q) while determining the next housekeeping: %v", cd.info.Name, err)
485+
klog.V(4).Infof("Failed to get RecentStats(%q) while determining the next housekeeping: %v", cd.info.Name, err)
486486
}
487487
} else if len(stats) == 2 {
488488
// TODO(vishnuk): Use no processes as a signal.

0 commit comments

Comments
 (0)