Closed alexhsamuel closed 11 months ago
/api/v1/live
/api/v1/stats
To check liveness, with a 15 s timeout:
>>> from apsis.service.client import Client >>> Client().alive(timeout=15)
To peek at the current latency:
>>> Client().stats()["async"]["latency"]
I see typically ~3 ms when Apsis is idle.
/api/v1/live
and/api/v1/stats
endpoints, to monitor basic liveness and stats, respectively.To check liveness, with a 15 s timeout:
To peek at the current latency:
I see typically ~3 ms when Apsis is idle.