Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for renameLabels (0.05 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"}
    	labelsFilter := map[string]set.StringSet{}
    	m.SetHistogram(apiRequestsTTFBSecondsDistribution, httpRequestsDuration, labelsFilter, renameLabels, nil,
    		"type", "s3")
    	return nil
    }
    
    // loadAPIRequestsNetworkMetrics - loads S3 network metrics.
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. cmd/metrics-v3-types.go

    // histogram.
    //
    // `filterByLabels` is a map of label names to list of allowed label values to
    // filter by. Note that this filtering happens before any renaming of labels.
    //
    // `renameLabels` is a map of label names to rename. The keys are the original
    // label names and the values are the new label names.
    //
    // `bucketFilter` is a list of bucket values to filter. If this is non-empty,
    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