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

Send agent stop/start events

Open otisg opened this issue 7 years ago • 1 comments

When the agent stops or starts it should generate an Event and send it to Event Receiver. Event Receiver URL is specified in the agent config. The stop event should probably be generated in the ShutdownHook.

otisg avatar Oct 06 '18 22:10 otisg

A note regarding event receiver URL - it doesn't have to be present and that is a valid case. Agent should in such cases just quietly skip sending any events.

bsmid avatar Oct 07 '18 05:10 bsmid