1 Reply Latest reply on Apr 10, 2017 2:45 AM by sebastian.laskawiec

    ininfispan management API REST calls for cache statistics

    ninjasftw

      Hi,

       

      I'm setting up monitoring for an infinispan 8.2 system i've got.

       

      I can query the cache stats one at a time using

      curl "https://localhost:9993/management/subsystem/datagrid-infinispan/cache-container/clustered/distributed-cache/test-cache?operation=attribute&name=hits"

      However, I would like to query multiple stats and would like to do it in a single query.  Adding multiple &name=parameter doesn't work and wildcards don't appear to be accepted.

       

      From the management cli I can cd to the cache directory and then do an ls and it will return all the statistics but i don't think there is an equivalent from the HTTP api?

       

      Does anyone know a way around this?

       

      Thanks