refinements for csv logging

This commit is contained in:
Jonathan Shook
2023-10-16 22:09:32 -05:00
parent fe1d3193a4
commit e44b5a21b7
15 changed files with 279 additions and 98 deletions

View File

@@ -124,7 +124,7 @@ public class ClientSystemMetricChecker extends NBBaseComponent {
private void check() {
Double extractedVal = extract();
if (extractedVal != null && extractedVal > threshold)
logger.warn(getLabels().asMap().get("name") + " value = " + extractedVal + " > threshold " + threshold);
logger.warn(numerator.getLabels().linearizeAsMetrics() + " value = " + extractedVal + " > threshold " + threshold);
}
}
}