How to fetch cache hit ratio metrics

Does Aerospike provides metrics of cache hit ratio for each namespace if Aerospike is used only for caching?

For persistent namespaces, Aerospike caches recent writes, the percent of reads read from this cache can be found here: https://www.aerospike.com/docs/reference/metrics/#cache_read_pct.

If you want the ratio of successful reads to attempted reads see: https://www.aerospike.com/docs/reference/metrics/#client_read_success, https://www.aerospike.com/docs/reference/metrics/#client_read_error.

Thanks.

What’s the difference between client_read_not_found and client_read_error metric? Can we treat client_read_not_found as cache miss? https://www.aerospike.com/docs/reference/metrics/#client_read_not_found https://www.aerospike.com/docs/reference/metrics/#client_read_error

Error is all errors, not_found are just requests that result in not found.