Commit 27a0e4a5 authored by Kyriakos Kritikos's avatar Kyriakos Kritikos
Browse files

Reporting now everything. Will revert back to previous situation (only...

Reporting now everything. Will revert back to previous situation (only composite metric measurement reporting) only if needed.
parent 66f653b7
......@@ -52,7 +52,8 @@ public abstract class MetricStorage {
//Store in CDO and possibly report measurements only if push check is OK, i.e., the respective metric of the measurement is involved in a SLO,
//OptimisationRequirement or scalability rule NonFunctionalEvent
if (mi instanceof CompositeMetricInstance && CDOUtils.canPush(ID, trans)){
//Commenting for now the check to report everything
//if (mi instanceof CompositeMetricInstance && CDOUtils.canPush(ID, trans)){
//Create MeasurementObject to be stored
switch(measurementType){
case APPLICATION_MEASUREMENT:
......@@ -97,6 +98,6 @@ public abstract class MetricStorage {
server.submitValue(metricId, value);
logger.info("Can push measurement: " + value + " for metric: " + metricId);
}
}
//}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment