This commit is contained in:
Thibault bui Koechlin 2020-06-17 23:38:22 +02:00
parent 4b0058d09a
commit ae46c0b0c7

View file

@ -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