every sent heartbeat has a timestamp. apis return an object with duration how are durations calculated? what do you sum? how? can you make open source the backend? @Jannchie for selfhosted use and i want to understand how durations are calculated