Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TTFB (0.01 sec)

  1. internal/logger/audit.go

    			outputBytes = int64(tc.ResponseRecorder.Size())
    			headerBytes = int64(tc.ResponseRecorder.HeaderSize())
    			timeToResponse = time.Now().UTC().Sub(tc.ResponseRecorder.StartTime)
    			timeToFirstByte = tc.ResponseRecorder.TTFB()
    		}
    
    		entry.AccessKey = reqInfo.Cred.AccessKey
    		entry.ParentUser = reqInfo.Cred.ParentUser
    
    		entry.API.Name = reqInfo.API
    		entry.API.Bucket = reqInfo.BucketName
    		entry.API.Object = reqInfo.ObjectName
    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. internal/http/response-recorder.go

    	if !ok {
    		return nil, nil, fmt.Errorf("response writer does not support hijacking. Type is %T", lrw.ResponseWriter)
    	}
    	return hj.Hijack()
    }
    
    // TTFB of the request - this function needs to be called
    // when the request is finished to provide accurate data
    func (lrw *ResponseRecorder) TTFB() time.Duration {
    	if lrw.ttfbBody != 0 {
    		return lrw.ttfbBody
    	}
    	return lrw.ttfbHeader
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. cmd/metrics-v3-api.go

    	}
    	for name, value := range httpStats.TotalS3Canceled.APIStats {
    		m.Set(apiRequestsCanceledTotal, float64(value), "name", name, "type", "s3")
    	}
    	return nil
    }
    
    // loadAPIRequestsTTFBMetrics - loads S3 TTFB metrics.
    //
    // This is a `MetricsLoaderFn`.
    func loadAPIRequestsTTFBMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error {
    	renameLabels := map[string]string{"api": "name"}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. cmd/speedtest.go

    			}
    
    			result.PUTStats.Response = totalUploadTimes.Measure()
    			result.GETStats.Response = totalDownloadTimes.Measure()
    			result.GETStats.TTFB = totalDownloadTTFB.Measure()
    
    			result.Size = opts.objectSize
    			result.Disks = globalEndpoints.NEndpoints()
    			result.Servers = len(globalNotificationSys.peerClients) + 1
    			result.Version = Version
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. 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 {
    	return func(w http.ResponseWriter, r *http.Request) {
    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