diff --git a/pkg/metricscollector/v1beta1/common/const.go b/pkg/metricscollector/v1beta1/common/const.go index 7e4a7cdb2c0..56e2b57d9e5 100644 --- a/pkg/metricscollector/v1beta1/common/const.go +++ b/pkg/metricscollector/v1beta1/common/const.go @@ -39,12 +39,12 @@ const ( // DefaultFilter is the default metrics collector filter to parse the metrics. // Metrics must be printed this way // loss=0.3 - // accuracy=0.98 + // accuracy=.98 // Score=-7.53e-05 // Score=-7.53e+05 // Score=1E0 // Score=1.23E10 - DefaultFilter = `([\w|-]+)\s*=\s*([+-]?\d(\.\d+)?([Ee][+-]?\d+)?)` + DefaultFilter = `([\w|-]+)\s*=\s*([+-]?\d*(\.\d+)?([Ee][+-]?\d+)?)` // TODO (andreyvelich): Do we need to maintain 2 names? Should we leave only 1? MetricCollectorContainerName = "metrics-collector"