Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for startTime (0.19 sec)

  1. cmd/erasure-server-pool-decom.go

    	"github.com/minio/pkg/v2/env"
    	"github.com/minio/pkg/v2/workers"
    )
    
    // PoolDecommissionInfo currently decommissioning information
    type PoolDecommissionInfo struct {
    	StartTime   time.Time `json:"startTime" msg:"st"`
    	StartSize   int64     `json:"startSize" msg:"ss"`
    	TotalSize   int64     `json:"totalSize" msg:"ts"`
    	CurrentSize int64     `json:"currentSize" msg:"cs"`
    
    	Complete bool `json:"complete" msg:"cmp"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  2. cmd/metrics-v3-system-process.go

    	}
    
    	if stat.VirtualMemory() > 0 {
    		m.Set(processVirtualMemoryBytes, float64(stat.VirtualMemory()))
    	}
    
    	startTime, err := stat.StartTime()
    	if err != nil {
    		metricsLogIf(ctx, err)
    	} else if startTime > 0 {
    		m.Set(processStartTimeSeconds, float64(startTime))
    	}
    }
    
    func loadProcIOMetrics(ctx context.Context, io procfs.ProcIO, m MetricValues) {
    	if io.RChar > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    	}
    }
    
    func (p *rebalanceMetrics) log(r rebalanceMetric, poolIdx int, paths ...string) func(err error) {
    	startTime := time.Now()
    	return func(err error) {
    		duration := time.Since(startTime)
    		if globalTrace.NumSubscribers(madmin.TraceRebalance) > 0 {
    			globalTrace.Publish(rebalanceTrace(r, poolIdx, startTime, duration, err, strings.Join(paths, " ")))
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. cmd/sftp-server-driver.go

    		Duration:  time.Since(startTime),
    		Path:      s.Filepath,
    		Error:     errStr,
    	}
    }
    
    func (m *sftpMetrics) log(s *sftp.Request, user string) func(err error) {
    	startTime := time.Now()
    	source := getSource(2)
    	return func(err error) {
    		globalTrace.Publish(sftpTrace(s, startTime, source, user, err))
    	}
    }
    
    // NewSFTPDriver initializes sftp.Handlers implementation of following interfaces
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    func (m *batchJobMetrics) trace(d batchJobMetric, job string, attempts int) func(info objTraceInfoer, err error) {
    	startTime := time.Now()
    	return func(info objTraceInfoer, err error) {
    		duration := time.Since(startTime)
    		if globalTrace.NumSubscribers(madmin.TraceBatch) > 0 {
    			globalTrace.Publish(batchJobTrace(d, job, startTime, duration, info, attempts, err))
    			return
    		}
    		switch d {
    		case batchJobMetricReplication:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  6. cmd/endpoint.go

    				if orchestrated && hostResolveToLocalhost(endpoints[i]) {
    					// time elapsed
    					timeElapsed := time.Since(startTime)
    					// log error only if more than a second has elapsed
    					if timeElapsed > time.Second {
    						reqInfo.AppendTags("elapsedTime",
    							humanize.RelTime(startTime,
    								startTime.Add(timeElapsed),
    								"elapsed",
    								"",
    							))
    						ctx := logger.SetReqInfo(GlobalContext,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  7. cmd/xl-storage-disk-id-check.go

    	return w.Run(func() error { return p.storage.CleanAbandonedData(ctx, volume, path) })
    }
    
    func storageTrace(s storageMetric, startTime time.Time, duration time.Duration, path string, err string, custom map[string]string) madmin.TraceInfo {
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceStorage,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  "storage." + s.String(),
    		Duration:  duration,
    		Path:      path,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  8. cmd/ftp-server-driver.go

    		Duration:  time.Since(startTime),
    		Path:      objPath,
    		Error:     errStr,
    	}
    }
    
    func (m *ftpMetrics) log(s *ftp.Context, paths ...string) func(err error) {
    	startTime := time.Now()
    	source := getSource(2)
    	return func(err error) {
    		globalTrace.Publish(ftpTrace(s, startTime, source, strings.Join(paths, " "), err))
    	}
    }
    
    // Stat implements ftpDriver
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  9. cmd/bucket-lifecycle.go

    	}
    }
    
    func (sys *LifecycleSys) trace(oi ObjectInfo) func(event string) {
    	startTime := time.Now()
    	return func(event string) {
    		duration := time.Since(startTime)
    		if globalTrace.NumSubscribers(madmin.TraceILM) > 0 {
    			globalTrace.Publish(ilmTrace(startTime, duration, oi, event))
    		}
    	}
    }
    
    type expiryTask struct {
    	objInfo ObjectInfo
    	event   lifecycle.Event
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  10. cmd/erasure-healing.go

    func healTrace(funcName healingMetric, startTime time.Time, bucket, object string, opts *madmin.HealOpts, err error, result *madmin.HealResultItem) {
    	tr := madmin.TraceInfo{
    		TraceType: madmin.TraceHealing,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  "heal." + funcName.String(),
    		Duration:  time.Since(startTime),
    		Path:      pathJoin(bucket, decodeDirObject(object)),
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top