trufflehog/pkg/writers/buffered_file_writer
ahrav 6557b3b321
[feat] - buffered file writer metrics (#2395)
* use diff chan

* correctly use the buffered file writer

* use value from source

* reorder fields

* add tests and update

* Fix issue with buffer slices growing

* fix test

* correctly use the buffered file writer

* use value from source

* reorder fields

* fix

* add singleton

* use shared pool

* optimize

* rename and cleanup

* add metrics

* add print

* rebase

* remove extra inc

* add metrics for checkout time

* add comment

* use microseconds

* add metrics

* add metrics pkg

* add more metrics

* rever test

* remove fields

* fix

* resize and return

* update metric name

* remove comment

* address comments

* add comment
2024-02-08 07:38:40 -08:00
..
bufferedfilewriter.go [feat] - buffered file writer metrics (#2395) 2024-02-08 07:38:40 -08:00
bufferedfilewriter_test.go [not-fixup] - Reduce memory consumption for Buffered File Writer (#2377) 2024-02-06 09:22:25 -08:00
metrics.go [feat] - buffered file writer metrics (#2395) 2024-02-08 07:38:40 -08:00