generalize greptime