sematext-agent-java icon indicating copy to clipboard operation
sematext-agent-java copied to clipboard

Add health check endpoint

Open sivasamyk opened this issue 5 years ago • 0 comments

Add /health HTTP endpoint to the agent to be used when the agent is running in container/k8s environment. Initial implementation can start with simple boolean return value like 200 OK and 500 Error. The health can return an error when there are issues with config files (invalid YAMLs, cannot find file etc) or config params (invalid token). If an agent has issues with connection to application etc, it should still report 200 OK.

sivasamyk avatar Nov 20 '18 06:11 sivasamyk