mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Merge pull request #136778 from Jefftree/etcd-metrics-typo
Fix RecordStorageListMetrics comment
This commit is contained in:
commit
97a2334637
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ func UpdateLeaseObjectCount(count int64) {
|
|||
etcdLeaseObjectCounts.WithLabelValues().Observe(float64(count))
|
||||
}
|
||||
|
||||
// RecordListEtcd3Metrics notes various metrics of the cost to serve a LIST request
|
||||
// RecordStorageListMetrics notes various metrics of the cost to serve a LIST request
|
||||
func RecordStorageListMetrics(groupResource schema.GroupResource, numFetched, numEvald, numReturned int) {
|
||||
listStorageCount.WithLabelValues(groupResource.Group, groupResource.Resource).Inc()
|
||||
listStorageNumFetched.WithLabelValues(groupResource.Group, groupResource.Resource).Add(float64(numFetched))
|
||||
|
|
|
|||
Loading…
Reference in a new issue