metrics icon indicating copy to clipboard operation
metrics copied to clipboard

add metrics for vinyl.cache

Open Satbek opened this issue 1 month ago • 0 comments

It is currently difficult to evaluate the efficiency of tuple_cache and whether increasing it makes sense.

Let's add some new metrics for vinyl cache:

  • eviction count (index:stat().cache.evict)
  • cache hit (index:stat().cache.get)
  • cache miss (index:stat().get - index:stat().cache.get)

Also there might be some another useful metrics in index:stat().

Ref: https://github.com/tarantool/tarantool/issues/11859

Satbek avatar Sep 29 '25 07:09 Satbek