Search code examples
apihttprequestignitemetrics

Getting Memory Metrics in Apache Ignite by using rest API


I am using Apache Ignite 2.8.0. Using following HTTP request i am able to get some metrics, "http://127.0.0.1:8080/ignite?cmd=top&mtr=true&sessionToken=A9F2E44E2E3744D7BD890D133ED8CE92" But when persistence is enabled this request doesn't give memory details about WAL and Disk. i need to get that also, how can i get memory details about WAL and Disk using Http request?


Solution

  • You can use the following REST calls on Apache Ignite 2.8.0:

    http://127.0.0.1:8080/ignite?cmd=datastorage

    http://127.0.0.1:8080/ignite?cmd=dataregion

    Please note that you have to enable metrics in data storage configuration & data region configuration.