[
https://issues.apache.org/jira/browse/IGNITE-16941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Kadaner updated IGNITE-16941:
Description:
Exposing cache statistics is an important part of Spring Cache integration. You
can see
[here|https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/actuate/metrics/cache/package-summary.html]
a number of existing implementations. I suspect that the missing Ignite
integration can be connected to the fact that
'org.apache.ignite.cache.spring.SpringCache' that implements the Spring's Cache
interface is package protected.
There is a simple example here of implementing the CacheMeterBinderProvider:
[https://medium.com/@iliamsharipov_56660/spring-boot-actuator-for-concurrentmapcache-2c7f0d290934|https://medium.com/@iliamsharipov_56660/spring-boot-actuator-for-concurrentmapcache-2c7f0d290934]
was:
Exposing cache statistics is an important part of Spring Cache integration. You
can see
[here|https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/actuate/metrics/cache/package-summary.html]
a number of existing implementations. I suspect that the missing Ignite
integration can be connected to the fact that
'org.apache.ignite.cache.spring.SpringCache' that implements the Spring's Cache
interface is package protected.
There is a simple example here of implementing the CacheMeterBinderProvider:
[https://medium.com/@iliamsharipov_56660/spring-boot-actuator-for-concurrentmapcache-2c7f0d290934|CacheMeterBinderProvider]
> Spring Cache integration does not expose statistics via Spring's
> CacheMeterBinderProvider
> -
>
> Key: IGNITE-16941
> URL: https://issues.apache.org/jira/browse/IGNITE-16941
> Project: Ignite
> Issue Type: Improvement
> Components: cache, extensions, integrations, spring
>Affects Versions: 2.9.1
>Reporter: Sergey Kadaner
>Priority: Major
>
> Exposing cache statistics is an important part of Spring Cache integration.
> You can see
> [here|https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/actuate/metrics/cache/package-summary.html]
> a number of existing implementations. I suspect that the missing Ignite
> integration can be connected to the fact that
> 'org.apache.ignite.cache.spring.SpringCache' that implements the Spring's
> Cache interface is package protected.
>
> There is a simple example here of implementing the CacheMeterBinderProvider:
> [https://medium.com/@iliamsharipov_56660/spring-boot-actuator-for-concurrentmapcache-2c7f0d290934|https://medium.com/@iliamsharipov_56660/spring-boot-actuator-for-concurrentmapcache-2c7f0d290934]
--
This message was sent by Atlassian Jira
(v8.20.7#820007)