Allow heartbeat url to be configurable with initializer