symfonyshopware6symfony5

How to collect Symfony cache metrics in production?


I am using Symfony 5.4 together with Shopware 6.4

I would like to collect metrics about the cache usage like hits/misses in production. This should be done in a way that doesnt impact production performance, of course.

Is there a way to do this without implementing custom code?


Solution

  • Symfony and/or Shopware do not provide out of the box features for collecting cache metrics like hits and misses. I think you need to look at a library that can do this for you or implement custom code.