cmd/swarm/swarm-smoke: remove wrong metrics (#18970)
This commit is contained in:
committed by
GitHub
parent
f9401ae011
commit
c5c9cef5c0
@ -33,12 +33,6 @@ import (
|
||||
)
|
||||
|
||||
func uploadAndSync(c *cli.Context) error {
|
||||
defer func(now time.Time) {
|
||||
totalTime := time.Since(now)
|
||||
log.Info("total time", "time", totalTime, "kb", filesize)
|
||||
metrics.GetOrRegisterResettingTimer("upload-and-sync.total-time", nil).Update(totalTime)
|
||||
}(time.Now())
|
||||
|
||||
generateEndpoints(scheme, cluster, appName, from, to)
|
||||
seed := int(time.Now().UnixNano() / 1e6)
|
||||
|
||||
|
Reference in New Issue
Block a user