Skip to content

Feature request: hit_in_bytes hit_out_bytes miss_in_bytes miss_out_bytes #181

@nagylzs

Description

@nagylzs

I can determine the cache hit/miss ratio in terms of number of requests:

request_hit_ratio = cache_hit / ( cache_hit + cache_miss )

What I really need is to measure cache efficiency based on amounts of data. Something like this:

data_hit_ratio = hit_out_bytes / ( hit_out_bytes + miss_out_bytes )

But I can't do this because this data is not available and it cannot be calculated. We have in_bytes and out_bytes, but it includes both hit and miss data. We have cache_hit and cache_miss but that does not contain the amounts of data (only number of requests).

Would it be possible to add these values?

  • hit_in_bytes
  • hit_out_bytes
  • miss_in_bytes
  • miss_out_bytes

Thanks

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions