Add new CachePopulationReason (#130593)

This commit is contained in:
Francisco Fernández Castaño 2025-07-10 09:39:53 +02:00 committed by GitHub
parent c901f1ee1b
commit 371db752db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,5 @@
pr: 130593
summary: Add new `CachePopulationReason`
area: Store
type: enhancement
issues: []

View File

@ -47,7 +47,11 @@ public class BlobCacheMetrics {
/**
* When the data we need is not in the cache
*/
CacheMiss
CacheMiss,
/**
* When data is prefetched upon new commit notifications
*/
PreFetchingNewCommit
}
public BlobCacheMetrics(MeterRegistry meterRegistry) {