Open
Description
My monolith application relies a lot on do.Shutdownable
interface. Some tasks call database or third-parties, and flush buffer.
I would like to measure the time of the do.Shutdown
processing.
API proposal: duration, err := do.Shutdown()
duration
would be either a time.Duration
or:
type ShutdownDuration struct {
All time.Duration
Services map[string]time.Duration
}
WDYT ?
Metadata
Metadata
Assignees
Labels
No labels