@@ -12,9 +12,46 @@ spring: | |||
dashboard: 172.19.192.44:8098 | |||
port: 8098 | |||
datasource: | |||
- nacos: | |||
#- nacos: | |||
# server-addr: 172.19.42.44:8848 | |||
# data-id: ${spring.application.name}-sentinel-flow | |||
# group-id: DEFAULT_GROUP | |||
# data-type: json | |||
# rule-type: flow | |||
flow: | |||
nacos: | |||
server-addr: 172.19.42.44:8848 | |||
data-id: ${spring.application.name}-sentinel-flow | |||
group-id: DEFAULT_GROUP | |||
data-type: json | |||
# 规则类型,取值见: | |||
# org.springframework.cloud.alibaba.sentinel.datasource.RuleType | |||
rule-type: flow | |||
degrade: | |||
nacos: | |||
server-addr: 172.19.42.44:8848 | |||
data-id: ${spring.application.name}-sentinel-degrade | |||
group-id: DEFAULT_GROUP | |||
data-type: json | |||
rule-type: degrade | |||
system: | |||
nacos: | |||
server-addr: 172.19.42.44:8848 | |||
data-id: ${spring.application.name}-sentinel-system | |||
group-id: DEFAULT_GROUP | |||
data-type: json | |||
rule-type: system | |||
authority: | |||
nacos: | |||
server-addr: 172.19.42.44:8848 | |||
data-id: ${spring.application.name}-sentinel-authority | |||
group-id: DEFAULT_GROUP | |||
data-type: json | |||
rule-type: authority | |||
param-flow: | |||
nacos: | |||
server-addr: 172.19.42.44:8848 | |||
data-id: ${spring.application.name}-sentinel-param-flow | |||
group-id: DEFAULT_GROUP | |||
data-type: json | |||
rule-type: param-flow |
@@ -11,9 +11,46 @@ spring: | |||
transport: | |||
dashboard: 172.19.192.44:8098 | |||
datasource: | |||
- nacos: | |||
#- nacos: | |||
# server-addr: 172.19.42.44:8848 | |||
# data-id: ${spring.application.name}-sentinel-flow | |||
# group-id: DEFAULT_GROUP | |||
# data-type: json | |||
# rule-type: flow | |||
flow: | |||
nacos: | |||
server-addr: 172.19.42.44:8848 | |||
data-id: ${spring.application.name}-sentinel-flow | |||
group-id: DEFAULT_GROUP | |||
data-type: json | |||
# 规则类型,取值见: | |||
# org.springframework.cloud.alibaba.sentinel.datasource.RuleType | |||
rule-type: flow | |||
degrade: | |||
nacos: | |||
server-addr: 172.19.42.44:8848 | |||
data-id: ${spring.application.name}-sentinel-degrade | |||
group-id: DEFAULT_GROUP | |||
data-type: json | |||
rule-type: degrade | |||
system: | |||
nacos: | |||
server-addr: 172.19.42.44:8848 | |||
data-id: ${spring.application.name}-sentinel-system | |||
group-id: DEFAULT_GROUP | |||
data-type: json | |||
rule-type: system | |||
authority: | |||
nacos: | |||
server-addr: 172.19.42.44:8848 | |||
data-id: ${spring.application.name}-sentinel-authority | |||
group-id: DEFAULT_GROUP | |||
data-type: json | |||
rule-type: authority | |||
param-flow: | |||
nacos: | |||
server-addr: 172.19.42.44:8848 | |||
data-id: ${spring.application.name}-sentinel-param-flow | |||
group-id: DEFAULT_GROUP | |||
data-type: json | |||
rule-type: param-flow |