The time.Sleep(100ms) after OpenTelemetry shutdown was removed as it's not necessary for proper log writing. Zerolog automatically flushes logs on program exit, and the remaining 1-second sleep for readiness propagation is sufficient. Tested that all shutdown logs are properly written without the sleep.
5.3 KiB
5.3 KiB