我将ehcache添加为第二级休眠缓存,并希望查看Spring boot acturator提供的缓存指标。但这在度量标准上不可用。我能够看到其他指标,例如jvm,gc和数据源指标,但是不存在缓存指标。
mem 888875
mem.free 498783
processors 4
instance.uptime 123324
uptime 135571
systemload.average 3.10009765625
heap.committed 772096
heap.init 262144
heap.used 273312
heap 3728384
nonheap.committed 118576
nonheap.init 2496
nonheap.used 116780
nonheap 0
threads.peak 34
threads.daemon 25
threads.totalStarted 40
threads 28
classes 15635
classes.loaded 15635
classes.unloaded 0
gc.ps_scavenge.count 13
gc.ps_scavenge.time 182
gc.ps_marksweep.count 3
gc.ps_marksweep.time 275
httpsessions.max -1
httpsessions.active 0
datasource.primary.active 0
datasource.primary.usage 0
datasource.xxx.active 0
datasource.xxx.usage 0
gauge.response.autoconfig 121
gauge.response.v1.participants 562
counter.status.200.v1.participants 1
counter.status.200.autoconfig 1
我使用自动配置cacheManager和ehcache 2.4.3。
我会错过一些配置吗?预先感谢。