Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for JoinLoaders (0.28 sec)

  1. cmd/metrics-v3.go

    			apiRequests5xxErrorsTotalMD,
    			apiRequests4xxErrorsTotalMD,
    			apiRequestsCanceledTotalMD,
    
    			apiRequestsTTFBSecondsDistributionMD,
    
    			apiTrafficSentBytesMD,
    			apiTrafficRecvBytesMD,
    		},
    		JoinLoaders(loadAPIRequestsHTTPMetrics, loadAPIRequestsTTFBMetrics,
    			loadAPIRequestsNetworkMetrics),
    	)
    
    	bucketAPIMG := NewBucketMetricsGroup(bucketAPICollectorPath,
    		[]MetricDescriptor{
    			bucketAPITrafficRecvBytesMD,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 00:55:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. cmd/metrics-v3-types.go

    // 500 Internal Server Error.
    type MetricsLoaderFn func(context.Context, MetricValues, *metricsCache) error
    
    // JoinLoaders - joins multiple loaders into a single loader. The returned
    // loader will call each of the given loaders in order. If any of the loaders
    // return an error, the returned loader will return that error.
    func JoinLoaders(loaders ...MetricsLoaderFn) MetricsLoaderFn {
    	return func(ctx context.Context, m MetricValues, c *metricsCache) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top