def METHOD_NAME(self, service: beat.Service) -> str:
    scheduler = service.get_scheduler(lazy=True)
    return STARTUP_INFO_FMT.format(
        conninfo=self.app.connection().as_uri(),
        timestamp=datetime.now().replace(microsecond=0),
        logfile=self.logfile or '[stderr]',
        loglevel=LOG_LEVELS[self.loglevel],
        loader=qualname(self.app.loader),
        scheduler=qualname(scheduler),
        scheduler_info=scheduler.info,
        hmax_interval=humanize_seconds(scheduler.max_interval),
        max_interval=scheduler.max_interval,
    )