Open tanveergill opened 2 years ago
Related: #534
After discussion with @DariaKunoichi – some more things to polish regarding classifier error-handling:
Categorize errors into different kinds and perhaps treat them slightly differently
Right now we treat all them the same way "Log and add to checkresponse", which is not ideal.
Double check if multi-extractor classifier can handle "partial map" – eg. some extractors succeeded but some failed. If it's not possible, it's kinda sad, as error in one extractor could basically "disable" other extractor.
Describe the solution you'd like
flowcontrolv1.Classifier
message is being populated properly in the CheckResponse for multi-label Rego rules in populateFlowLabelsappendNewClassifier
move inside the for loop on variables so that individualLabelKeys
may be tracked.LabelKey
? If not, should change the Classifiers spec and the resulting OLAP telemetry.Additional context
flowcontrolv1.Classifier
is to piece together the Classifiers (PolicyName, ClassifierIndex, LabelKey) that matched and errors. This info is made available as attributes in OLAP telemetry.