diff --git a/src/l3_centralizedattackdetector/service/l3_centralizedattackdetectorServiceServicerImpl.py b/src/l3_centralizedattackdetector/service/l3_centralizedattackdetectorServiceServicerImpl.py index d7dd00a8f038d3d9301f20dc83416ddc681f2d76..e65eb5a84b73c768ea25831406ffc8e76e7d8cec 100644 --- a/src/l3_centralizedattackdetector/service/l3_centralizedattackdetectorServiceServicerImpl.py +++ b/src/l3_centralizedattackdetector/service/l3_centralizedattackdetectorServiceServicerImpl.py @@ -100,7 +100,7 @@ class l3_centralizedattackdetectorServiceServicerImpl(L3Centralizedattackdetecto self.cryptomining_detector_features_metadata.sort() LOGGER.info("Cryptomining Detector Features: " + str(self.cryptomining_detector_features_metadata)) - LOGGER.info("Batch size: " + BATCH_SIZE) + LOGGER.info("Batch size: " + str(BATCH_SIZE)) self.input_name = self.cryptomining_detector_model.get_inputs()[0].name self.label_name = self.cryptomining_detector_model.get_outputs()[0].name @@ -189,6 +189,10 @@ class l3_centralizedattackdetectorServiceServicerImpl(L3Centralizedattackdetecto self.total_predictions = 0 self.false_positives = 0 self.false_negatives = 0 + + self.replica_uuid = uuid.uuid4() + + LOGGER.info("This replica's identifier is: " + str(self.replica_uuid)) """ Create a monitored KPI for a specific service and add it to the Monitoring Client