class StraceDiagnosticManager {

    public void enableMicroserviceStraceDiagnostics(String microserviceUuid) {
		LoggingService.logInfo(MODULE_NAME, "Start enable microservice for strace diagnostics : " + microserviceUuid);
		try {
			int pid = getPidByContainerName(DockerUtil.getIoFogContainerName(microserviceUuid));
			MicroserviceStraceData newMicroserviceStraceData = new MicroserviceStraceData(microserviceUuid, pid, true);
			this.monitoringMicroservices.removeIf(
				oldMicroserviceStraceData -> oldMicroserviceStraceData.getMicroserviceUuid().equals(microserviceUuid)
			);
			this.monitoringMicroservices.add(newMicroserviceStraceData);
			runStrace(newMicroserviceStraceData);
		} catch (IllegalArgumentException e) {
			logError(MODULE_NAME, "Can't get pid of process",
					new AgentSystemException("Can't get pid of process", e));
		}
		LoggingService.logInfo(MODULE_NAME, "Finished enable microservice for strace diagnostics : " + microserviceUuid);
    }

    private  StraceDiagnosticManager();

}