Add bot start and bot-startup to health endpoint

This commit is contained in:
Matthias
2024-03-09 15:01:13 +01:00
parent 98c2f81bb9
commit acbb485302
3 changed files with 38 additions and 11 deletions

View File

@@ -559,3 +559,7 @@ class SysInfo(BaseModel):
class Health(BaseModel):
last_process: Optional[datetime] = None
last_process_ts: Optional[int] = None
bot_start: Optional[datetime] = None
bot_start_ts: Optional[int] = None
bot_startup: Optional[datetime] = None
bot_startup_ts: Optional[int] = None