* fix: only collect prometheus database metrics when explicitly enabled * add missing test * de-duplicate wrapping
login_before_ready
startup_script_behavior