Thibault bui Koechlin 5 years ago
parent
commit
ae46c0b0c7
1 changed files with 2 additions and 3 deletions
  1. 2 3
      pkg/acquisition/file_reader.go

+ 2 - 3
pkg/acquisition/file_reader.go

@@ -257,9 +257,8 @@ LOOP:
 			if line.Text == "" { //skip empty lines
 				continue
 			}
-			if ctx.Profiling {
-				ReaderHits.With(prometheus.Labels{"source": ctx.Filename}).Inc()
-			}
+			ReaderHits.With(prometheus.Labels{"source": ctx.Filename}).Inc()
+
 			l.Raw = line.Text
 			l.Labels = ctx.Labels
 			l.Time = line.Time