launchdarkly / ld-relay

LaunchDarkly Relay Proxy
Other
111 stars 80 forks source link

Healthcheck endpoint #115

Closed amitsaha closed 3 years ago

amitsaha commented 3 years ago

Consider a setup where a relay is configured to use a persistent store and is being deployed along with the application as a side-car either in a VM or a pod.

At startup, the relay is opening up its communication channels with Redis and launchdarkly.com. There is quite a bit of initial bootstrapping that i assume is happening in the relay during these first seconds at startup.

Does the relay have a healthcheck endpoint that another service can ping to ensure that the relay is ready to serve flag requests? That is, once all the initialisation has been happened.

bwoskow-ld commented 3 years ago

Hi @amitsaha ,

Check out https://github.com/launchdarkly/ld-relay/blob/v6/docs/endpoints.md#status-health-check to learn about Relay's health check endpoint.

Cheers, Ben

amitsaha commented 3 years ago

Ah 🤦 thank you.

bwoskow-ld commented 3 years ago

Any time!