wu-sheng opened a new issue #6897:
URL: https://github.com/apache/skywalking/issues/6897


   @kezhenxu94 For better 3rd party integration, we still need to evaluate the 
ways to update LAL and MAL in the runtime. Of course, the OAL should be on the 
radar, but considering it is heavier than these two, let's focus on LAL and MAL 
now.
   I have talked with people around about the MAL and LAL use case, this is 
really required because people are keeping add metrics analysis with time.
   
   From a tech perspective, groovy should be easy to support, the biggest 
challenge is about the streaming process. We need to support uninstall the 
existing process and tolerate `worker not found` in `RemoteServiceHandler`.
   
   Also, the update should be supported in 2 ways.
   1. Dynamic configuration setting, like alarm setting.
   2. File change monitoring(`MultipleFilesChangeMonitor`), then, in 
single-node mode or dev mode, we don't need to use (1), as it is clearly more 
complex than directly changing file
   
   I know, @kezhenxu94  have concerns about the security issue, we don't 
recommend definitely expose the script to the user, but use a system to 
assemble that. In further, we could have a better API set to assemble this 
script and avoid security issues.
   
   At the last, about the storage format change, it is more about the MAL 
change, especially when face H2/MySQL/PostgreSQL, which could be a load for the 
storage, but once this is open, users should take care of it. New metrics 
installation about these 2, need to check whether the entity(table) exists, if 
yes, we should follow a new config to determine whether OAP should `delete the 
entity` or `reject the change and output an error log`.
   
   @apache/skywalking-committers Welcome to discuss and comment. Whoever wants 
to implement this, please let me know.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to