通过参数指定控制台持久化规则到nacos,apollo或zookeeper
通过控制台启动参数 rule.provider ,决定规则的存储在内存, nacos,apollo,zookeeper , 控制台的规则直接保存到配置中心
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 2 committers have signed the CLA.
:x: 解建君
:x: 5661954
解建君 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.
please recheck the pr. by the way,i found the apollo as the sotre service,should add a config item to customed the user in apollo, did i pull another request or add that when you merge this pr?
本pr通过启动参数 rule.provider 用于指定规则存储方式(不设置默认为 mem ),取值如下表所示:

dashboard 规则直接保存到选定的配置中心
java ^ -Dserver.port=8858 ^ -Dcsp.sentinel.dashboard.server=192.168.100.2:8858 ^ -Dproject.name=sentinel-dashboard ^ -Dsentinel.dashboard.auth.username=sentinel ^ -Dsentinel.dashboard.auth.password=123456 ^ -Drule.provider=nacos ^ -Dconfigserver.address=192.168.100.2:8848 ^ -Dconfigserver.namespace=bcd649e2-caed-4d92-a072-41044b8353e0 ^ -jar sentinel-dashboard-1.8.0.jar
启用nacos的配置文件来存储 -Drule.provider=nacos ^ -Dconfigserver.address=192.168.100.2:8848 ^ -Dconfigserver.namespace=bcd649e2-caed-4d92-a072-41044b8353e0 ^
Sentinel是能启动并能从Nacos配置中心读取到规则,但是通过在Sentinel修改规则并没有能够同步到Nacos的配置中心对应文件,这个rule.provider=nacos功能现在是否可以正常使用?还是说在开发、测试和调整中?
更改集群版的配置,应该保留原有单机版本的页面,当前这么更改 就丢失查看某个节点最新规则的功能, , 哎, sentinel 的管理控制不支持集群配置功能, 然后又是 AngularJS, 有哪位大神帮忙改造下不
java ^ -Dserver.port=8858 ^ -Dcsp.sentinel.dashboard.server=192.168.100.2:8858 ^ -Dproject.name=sentinel-dashboard ^ -Dsentinel.dashboard.auth.username=sentinel ^ -Dsentinel.dashboard.auth.password=123456 ^ -Drule.provider=nacos ^ -Dconfigserver.address=192.168.100.2:8848 ^ -Dconfigserver.namespace=bcd649e2-caed-4d92-a072-41044b8353e0 ^ -jar sentinel-dashboard-1.8.0.jar
启用nacos的配置文件来存储 -Drule.provider=nacos ^ -Dconfigserver.address=192.168.100.2:8848 ^ -Dconfigserver.namespace=bcd649e2-caed-4d92-a072-41044b8353e0 ^
Sentinel是能启动并能从Nacos配置中心读取到规则,但是通过在Sentinel修改规则并没有能够同步到Nacos的配置中心对应文件,这个rule.provider=nacos功能现在是否可以正常使用?还是说在开发、测试和调整中?
可以正常使用啊,您是从我fork的分支上拉的代码吗?
更改集群版的配置,应该保留原有单机版本的页面,当前这么更改 就丢失查看某个节点最新规则的功能, , 哎, sentinel 的管理控制不支持集群配置功能, 然后又是 AngularJS, 有哪位大神帮忙改造下不
啥意思?这个只是把配置放到配置中心,跟看某节点规则有啥关系?难道对同一应用,对不同节点设置不同规则?按主机来?