Dynamically supervise a GRPC connection and keep it alive for a while, using a timeout to kill the process on inactivity. The Connection GenServer keeps the connection alive, while listening to a health stream from the GRPC endpoint, notifying any subscribed listeners about changes to health. This health is then propagated to the main servers page. Also create a looping get_sys_info which retrieves some basic system information. |
||
---|---|---|
.. | ||
prymn | ||
prymn_proto | ||
prymn_web | ||
prymn.ex | ||
prymn_web.ex |