We have two GoLang microservices(http) & GoLang background program(running infinite loop).
Within micro-service, we have added diagnostic endpoint point(on http), to provide health-check of service. Grafana tool talks to this diagnostoc end point.
How to diagnose health-check of backend program?
Read more here: https://stackoverflow.com/questions/65704790/how-to-run-diagnostics-on-background-program
This content was originally published by overexchange at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.