When a log directory contains a large number of files, the initialization of all log streams in the directory can take some time for Singer after a restart. However, by initiating the metrics service prior to SingerSettings.initialize(), we can continue to publish metrics while Singer finalizes the log stream initialization process.
When a log directory contains a large number of files, the initialization of all log streams in the directory can take some time for Singer after a restart. However, by initiating the metrics service prior to
SingerSettings.initialize()
, we can continue to publish metrics while Singer finalizes the log stream initialization process.