The stats captured for solr caches should be exposed in the new metrics api and configured reporters.
This has been fixed on master as a part of SOLR-9959. We could back-port relevant changes to 6x.
This patch exposes cache information using the metrics API. I'll commit this shortly if there are no objections (again, this is already present on master).
Commit 376d7649ff78c50e2e3f3ed49e78fa2b1d9aad4e in lucene-solr's branch refs/heads/branch_6x from Andrzej Bialecki
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=376d764 ]
SOLR-10000: Expose cache statistics using metrics API (partial port from master).
Reopening to backport to branch_6_6. Apparently Andrzej Bialecki didn't notice that the release branch was cut the day before he backported to branch_6x.
Does it need to be on master, as well?
Commit 692e09835526170ef4701bcac984b3cbe05fa7c8 in lucene-solr's branch refs/heads/branch_6_6 from Andrzej Bialecki
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=692e098 ]
No, I don't think so, since as Andrzej Bialecki wrote above:
So since SOLR-9959 is a superset of the changes on this issue, there is no need to commit this issue's changes to master.