thinktecture/relayserver

Docker health endpoints

Closed this issue · 2 comments

Create endpoints for docker health.
We need /health/ready (return 200 when we are ready to accept client connections and relay requests) and /health/check (return 200 as long as we think we're fine).

UseRelayServer already maps and uses health endpoints (at /health/ready and /health/live).

In addition there is already an TransportHealthCheck which is already registered with the "ready" tag. But it seems to be not yet implemented.

I am not sure if we should map and use health endpoints from our framework, but should let the framework consumer decide to map and use them.

Closed with merge of #426