sematext-agent-java
sematext-agent-java copied to clipboard
Add health check endpoint
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.