kezhenxu94 commented on issue #6114:
URL: https://github.com/apache/skywalking/issues/6114#issuecomment-753252891


   > From my preference, we may need a new gRPC service for the agent for 
dynamic configuration.
   
   In terms of gRPC implementation, what's the idea of modifying the 
configurations? If I understand correctly, this is going to be similar with the 
backend dynamic configurations, one should expose a gRPC service providing the 
latest configs to the OAP, and the OAP responds these to the agent, right?
   
   ```text
   
   | user-defined gRPC service (emitting agent configs) |
                          |
                          | fetch (OAP behaves like a "client" side)
                          |
                          V
                       | OAP |
                          | 
                          | response via command system
                          |
                          V
                      | agent |
   
   ```
   
   If that's the case, I would suggest reversing the roles (server / client) of 
OAP and "user-defined gRPC service", which makes it possible for the CLI to 
update the configs without a long-running process.


----------------------------------------------------------------
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