mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
Fix incorrect metric desc for bucketRequestsDuration (#18657)
This commit is contained in:
committed by
GitHub
parent
bec1f7c26a
commit
162eced7d2
@@ -1643,7 +1643,7 @@ func getBucketTTFBMetric() *MetricsGroup {
|
||||
cacheInterval: 10 * time.Second,
|
||||
}
|
||||
mg.RegisterRead(func(ctx context.Context) []Metric {
|
||||
return getHistogramMetrics(bucketHTTPRequestsDuration, getBucketObjectDistributionMD())
|
||||
return getHistogramMetrics(bucketHTTPRequestsDuration, getBucketTTFBDistributionMD())
|
||||
})
|
||||
return mg
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user