fix(module/s3): prometheus metrics cardinality overflow
This commit is contained in:
parent
d2d788c5dc
commit
a9b655f1ad
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ func (s *S3Source) readFile(bucket string, key string) error {
|
|||
l.Time = time.Now().UTC()
|
||||
l.Process = true
|
||||
l.Module = s.GetName()
|
||||
l.Src = bucket + "/" + key
|
||||
l.Src = bucket
|
||||
var evt types.Event
|
||||
if !s.Config.UseTimeMachine {
|
||||
evt = types.Event{Line: l, Process: true, Type: types.LOG, ExpectMode: types.LIVE}
|
||||
|
|
Loading…
Add table
Reference in a new issue