@GetMapping("/{id}/monitor")
	@PreAuthorize("permitAll")
	public Map<String, Object> getMonitorGraph(@PathVariable long id,
											   @RequestParam String targetIP, @RequestParam int imgWidth) {
		int interval = perfTestService.getMonitorGraphInterval(id, targetIP, imgWidth);
		Map<String, Object> sysMonitorMap = perfTestService.getMonitorGraph(id, targetIP, interval);
		PerfTest perfTest = perfTestService.getOne(id);
		sysMonitorMap.put("interval", String.valueOf(interval * (perfTest != null ? perfTest.getSamplingInterval() : 1)));
		return sysMonitorMap;
	}
Get the monitor data of the target having the given IP.

@param id       test Id
@param targetIP targetIP
@param imgWidth image width
@return json message
ngrinder-controller/src/main/java/org/ngrinder/perftest/controller/PerfTestApiController.java