Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for renameLabels (0.18 sec)

  1. cmd/metrics-v3-api.go

    //
    // This is a `MetricsLoaderFn`.
    func loadAPIRequestsTTFBMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error {
    	renameLabels := map[string]string{"api": "name"}
    	m.SetHistogram(apiRequestsTTFBSecondsDistribution, httpRequestsDuration, renameLabels, nil,
    		"type", "s3")
    	return nil
    }
    
    // loadAPIRequestsNetworkMetrics - loads S3 network metrics.
    //
    // This is a `MetricsLoaderFn`.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  2. cmd/metrics-v3-types.go

    		m.values[name] = append(v, metricValue{
    			Labels: labelMap,
    			Value:  value,
    		})
    	}
    }
    
    // SetHistogram - sets values for the given MetricName using the provided
    // histogram.
    //
    // `renameLabels` is a map of label names to rename. The keys are the original
    // label names and the values are the new label names.
    //
    // TODO: bucketFilter doc
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top