14.12.2 Get Inspection Data
Inspection data is information about the server state.
You can get the inspection data using the following code:
JsonNode serverState = instance.getServerState();
server_state = instance.get_server_state()
This returns a JsonNode
which contains all
administration information, such as, number of graphs loaded, number of sessions,
memory usage for graphs and properties and so on.
{
"cached_graphs": [],
"published_graphs": [],
"graphs_currently_loading": [],
"sessions": [],
"tasks": [],
"pools": [],
"memory": {}
}
Parent topic: Admin API