This content has been marked as final.
Show 1 reply
-
1. Re: ininfispan management API REST calls for cache statistics
sebastian.laskawiec Apr 10, 2017 2:45 AM (in response to ninjasftw)We have similar use case in our documentation. Even though it doesn't describe Cache Statistics but Health Checks, the mechanism to invoke it should be exactly the same: Infinispan 9.0 Server Guide
curl --digest -L -D - "http://localhost:9990/management/subsystem/datagrid-infinispan/cache-container/clustered/health/HEALTH?operation=resource&include-runtime=true&json.pretty=1" --header "Content-Type: application/json" -u ispnadmin:ispnadmin
As you can see we use proper login and password from ManagementRealm and we invoke operation resource with runtime resources.