Move lifecycle events to diagnostics namespace