dashy icon indicating copy to clipboard operation
dashy copied to clipboard

Does Dashy have a built-in health-check endpoint for dashy itself?

Open TechDufus opened this issue 2 years ago • 4 comments

Question

I can't find any docs / code on this specifically.

Does dashy itself have a health endpoint that can be hit instead of loading the whole dashboard by an external monitor?

In my DNS case, I'd love to see dashy.home.io/health return the health code.

Category

Status Checking

Please tick the boxes

TechDufus avatar Jun 27 '22 12:06 TechDufus

Id like to deploy this with k8s and not use the test: ['CMD', 'node', '/app/services/healthcheck'] mentioned here

Id instead like to use a /something endpoint that can respond with 200 if fully loaded or something else if not fully loaded

myoung34 avatar Jun 27 '22 13:06 myoung34

This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days.

liss-bot avatar Jul 28 '22 01:07 liss-bot

It doesn't currently, but I could build one. Is the requirements just a GET page that returns a 200 when the app is healthy?

Currently working on #799, but if this feature turns out to be a quick one, I can include it in that PR.

Lissy93 avatar Jul 28 '22 13:07 Lissy93

Would be amazing @Lissy93 to have that endpoint, I think it makes much more sense than the current one tbh.

I would also try to contribute for that but my node skills are simple null :(

caiodelgadonew avatar Aug 31 '23 11:08 caiodelgadonew