Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for timeToFirstByte (0.11 sec)

  1. internal/logger/audit.go

    		for _, t := range reqInfo.tags {
    			tags[t.Key] = t.Val
    		}
    		entry.Tags = tags
    		// ignore cases for ttfb when its zero.
    		if timeToFirstByte != 0 {
    			entry.API.TimeToFirstByte = strconv.FormatInt(timeToFirstByte.Nanoseconds(), 10) + "ns"
    			entry.API.TimeToFirstByteInNS = strconv.FormatInt(timeToFirstByte.Nanoseconds(), 10)
    		}
    	} else {
    		auditEntry := GetAuditEntry(ctx)
    		if auditEntry != nil {
    			entry = *auditEntry
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/http-tracer.go

    				},
    				CallStats: madmin.TraceCallStats{
    					Latency:         reqEndTime.Sub(respRecorder.StartTime),
    					InputBytes:      inputBytes,
    					OutputBytes:     respRecorder.Size(),
    					TimeToFirstByte: respRecorder.TTFB(),
    				},
    			},
    		}
    
    		globalTrace.Publish(t)
    	})
    }
    
    func httpTrace(f http.HandlerFunc, logBody bool) http.HandlerFunc {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top