Hi Devs,

The purpose of this thread is to do discuss $subject.

To monitor the status and debug in case of an issue, its very helpful if
some information about the instance can be collected. Specially if the
instance crashed due to an issue, there will be no information available on
what went wrong within the instance.

As the initial version, I propose to monitor several logs in the instance
and publish them to an external monitoring server where the logs will be
collected. I have attached the proposed sequence diagram here:

[image: Inline image 1]

Here, a user would specify the log file locations when a cartridge is
deployed (as properties?). This information would be extracted by the
Stratos Manager and put to the payload that is sent to the instance via
Cloud Controller. The Cartridge Agent in the instance would read the
relevant log files and send them to a monitoring server. Please share your
thoughts.

-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* <http://wso2.com/>*

<<inline: log_publisher_sequence.png>>

Reply via email to