As a developer I would like an easy way to monitor Magento's full page cache efficiency so that I can code my customizations to maximize FPC cache hit rate
As a systems admin setting up a SOHO (<$1M/year rev) merchant on a single machine/VM I would like an easy way to monitor cache hit rates so that I can easily identify extensions that negatively impact cache hit rates
Notes:
Bonus Section:
AC:
I missed this initially, so note that this is specific to FPC cache rates. It's fairly easy to track this in NGINX by taking the number of requests for the vhost that accepts external traffic and proxies it to varnish as compared to the requests to the vhost that runs the FastCGI requests. @sitewards we use https://github.com/knyar/nginx-lua-prometheus for this purpose (among others).
Additionally, native instrumentation exists for Varnish and redis, which can be used to calculate hit rates.
I will create a feature request for a broader framework for instrumentation for the core stack.
Please refer to the Community Forums or the Magento Stack Exchange site for advice or general discussion about this issue. The GitHub issue tracker is intended for Magento Core technical issues only.