Skip to content

Commit 2f2b909

Browse files
authored
Add OnlinePrewarming option for cache population reason (#126716)
1 parent 31bb3d1 commit 2f2b909

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

x-pack/plugin/blob-cache/src/main/java/org/elasticsearch/blobcache/BlobCacheMetrics.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ public enum CachePopulationReason {
4040
* When warming the cache
4141
*/
4242
Warming,
43+
/**
44+
* When warming the cache as a result of an incoming request
45+
*/
46+
OnlinePrewarming,
4347
/**
4448
* When the data we need is not in the cache
4549
*/

0 commit comments

Comments
 (0)