Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AppendTags (0.28 sec)

  1. cmd/endpoint.go

    				reqInfo := (&logger.ReqInfo{}).AppendTags(
    					"host",
    					endpoints[i].Hostname(),
    				)
    
    				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,
    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)
Back to top