You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Kadaner (Jira)" <ji...@apache.org> on 2022/07/26 10:17:00 UTC

[jira] [Updated] (IGNITE-16941) Spring Cache integration does not expose statistics via Spring's CacheMeterBinderProvider

     [ 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 am trying to implement it myself by writing a class that implements CacheMeterBinderProvider<SpringCache>. However, the 'org.apache.ignite.cache.spring.SpringCache' that implements the Spring's Cache interface is package protected and cannot be used.

There is a simple example here of implementing the CacheMeterBinderProvider:  [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 am trying to implement it myself, but I am supposed to write a class that implements CacheMeterBinderProvider<SpringCache>, but unfortunately the '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]


> 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 am trying to implement it myself by writing a class that implements CacheMeterBinderProvider<SpringCache>. However, the 'org.apache.ignite.cache.spring.SpringCache' that implements the Spring's Cache interface is package protected and cannot be used.
> There is a simple example here of implementing the CacheMeterBinderProvider:  [https://medium.com/@iliamsharipov_56660/spring-boot-actuator-for-concurrentmapcache-2c7f0d290934]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)