Explorar o código

log scrape interval being used. redundancy ok, this is just 1 line

Ajay Tripathy %!s(int64=5) %!d(string=hai) anos
pai
achega
f8aa6c2dd5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      pkg/costmodel/router.go

+ 1 - 0
pkg/costmodel/router.go

@@ -773,6 +773,7 @@ func Initialize(additionalConfigWatchers ...ConfigWatchers) {
 			}
 		}
 	}
+	klog.Infof("Using scrape interval of %f", scrapeInterval.Seconds())
 
 	m, err := prom.Validate(promCli)
 	if err != nil || m.Running == false {