You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/06/11 02:08:12 UTC

[GitHub] [shardingsphere] menghaoranss opened a new issue #5989: The cluster and metrics configurations should be persist to the config center when orchestration is enabled

menghaoranss opened a new issue #5989:
URL: https://github.com/apache/shardingsphere/issues/5989


   When `orchestration` is turned on in proxy, the `cluster` and `metrics` configurations should be persist to the config center, and if `overwrite: false`  is configured at startup,  use the configurations of config center to initialize the `cluster` and `metrics`.
   
   Storage structure:
   ```
   /orchestration
     |- orchestration_ds
     |     |- authentication
     |     |- props
     |     |- cluster
     |     |- metrics
   ```
   `cluster` node content:
   
   ```
   cluster:
     heartbeat:
       sql: select 1
       threadCount: 1
       interval: 60
       retryEnable: false
       retryMaximum: 3
       retryInterval: 3
   ```
   `metrics` node content:
   
   ```
   metrics:
      name: prometheus
      host:  127.0.0.1
      port:  9190
   ```
   
   May be these tasks need to be processed: 
   
   - [ ] Persist `cluster` and `metrics` configurations to config center when `orchestration` is enabled
   - [ ] Use configurations of config center to initialize the `cluster` and `metrics`
   - [ ] Dynamically update configurations of `cluster` and `metrics`
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] menghaoranss closed issue #5989: The cluster and metrics configurations should be persist to the config center when orchestration is enabled

Posted by GitBox <gi...@apache.org>.
menghaoranss closed issue #5989:
URL: https://github.com/apache/shardingsphere/issues/5989


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] yu199195 commented on issue #5989: The cluster and metrics configurations should be persist to the config center when orchestration is enabled

Posted by GitBox <gi...@apache.org>.
yu199195 commented on issue #5989:
URL: https://github.com/apache/shardingsphere/issues/5989#issuecomment-643212555


   config center to initialize the  metrics  and Dynamically update :  https://github.com/apache/shardingsphere/pull/6018 


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] yu199195 commented on issue #5989: The cluster and metrics configurations should be persist to the config center when orchestration is enabled

Posted by GitBox <gi...@apache.org>.
yu199195 commented on issue #5989:
URL: https://github.com/apache/shardingsphere/issues/5989#issuecomment-643048267


   good idea。


----------------------------------------------------------------
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:
users@infra.apache.org